Last post Feb 21, 2012 10:30 AM by giop
Feb 21, 2012 07:22 AM|Rabih Matar|LINK
I have two web applications (asp.net) hosted on IIS (same IIS), both applications stores sessions in sql server(same sql server).
How can i read a session from first application in second application ?
Feb 21, 2012 09:18 AM|giop|LINK
Use SessionState Provider : http://msdn.microsoft.com/en-us/library/aa478952.aspx
Feb 21, 2012 10:21 AM|Rabih Matar|LINK
this link shows general information on state storage, but i have a special case ( note i am using .Net 4.0)
Feb 21, 2012 10:30 AM|giop|LINK
You can use, the sessionState, in mode SQL Server, to share sessions between two servers.
If you have your own session store model, you can create your own session state provider.
Cf this link who explains with sample : http://blogs.lessthandot.com/index.php/WebDev/ServerProgramming/ASPNET/sharing-asp-net-session-state-between-ap
I hope I understand your issue.