Jump to content

Session sharing across the applications


pr.nimbalkar

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...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...