Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 21, 2012 09:30 AM by giop
Feb 21, 2012 06:22 AM|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 08:18 AM|LINK
Use SessionState Provider : http://msdn.microsoft.com/en-us/library/aa478952.aspx
Feb 21, 2012 09:21 AM|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 09:30 AM|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.