How to manage session on Reactive project


I want to create a session variable in .net extension but after include to reactive project error "object reference not set to an instance of an object". 

I can't debug .net extension to solving the problem.


you can not use session variable in Reactive app you can use client variable or cookies in it.

This error you getting because the parameter value are empty when you trying to access it.



I don't know exaclty what it is your need, but let me share my experience.

With virtual DOM / SPA server sessions doesn't work as a tarditional way, can be usage but, doesn't make sensce nowadays.

As Deepa say, for reactive apps client variables can answer to your needs.

For diferent modules

I already have issues when it is need share session variables betwe end diferent end user modules, i suggest a thirparty cs module to save the variables an manage them.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.