Jump to content

Session sharing across the applications


pr.nimbalkar
 Share

Recommended Posts

Hi Guys,I have migrated my .net application from .NET 1.1 to .NET 2.0. In .NET 1.1 version , there is session sharing between 2 applications, they have use HttpContext.Current.Request.ServerVariables["HTTP_SM_USER"] to retrive user's session value in the other application. What is the equivalent method in .NET 2.0 to achieve the same?Thanks,Prashant N

Link to comment
Share on other sites

  • 3 months later...

Hi, Prashantits very simple you use Session["SessionNameBased"] or Session[indexValueBased]here set the Session Using Session="Some Value"it returns Object tyep valuesWhile Retriveing Valuesvariable name = Session["Name"].ToString();Methods for to use the Sessions.

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...