I have two web application (Asp.net - VB) one in VS 2005 and another is in VS 2012 - Now I have to share session between these two applications. Session state actually maintain in VS 2005 (Old project) and both application are hosted on same IIS (7.0). When I access page from VS 2012 project I have to use same session which was generated in VS 2005 project at same time. Note: Both projects has same content, design, code etc. Can anyone has idea or solutions on the same?
Asked
Active
Viewed 1,120 times
1
-
well it is good if you use session state as sqlsessionstate or stateserver. – Indranil.Bharambe Nov 28 '13 at 09:55
-
Thanks Terror, project originally in VS 2005 so I do not want to change any or the things in old code(web.config, code, global.asax etc) my session state is inProc. – Jitendra Sondarva Dec 06 '13 at 10:14
1 Answers
0
there are similar threads as below
Passing session data between ASP.NET Applications Sharing sessions across applications using the ASP.NET Session State Service
AS Terror.Blade said you may want to use sqlsession state
Cheers
Nirav

Community
- 1
- 1

Nirav Vyas
- 1
- 2
-
Ty but I do not want to change session state I want to use session that was generated in VS 2005 application. Session state is "inProc" in my application. – Jitendra Sondarva Nov 28 '13 at 10:22
-
@JitendraSondarva By default, sessions are stored in memory and each application have theyr own memory. You can't share what's in the memory. You'll have to store the information in a common place (ex: database). Same thing will happen if you have load balancing or fail-overs. – the_lotus Nov 28 '13 at 19:12
-
Is there any possibility to use one application session variable in another application using IIS, Global.asax or any? Both application are running at same time in same IIS/Server. – Jitendra Sondarva Dec 06 '13 at 10:33