1

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?

2
  • well it is good if you use session state as sqlsessionstate or stateserver. Commented Nov 28, 2013 at 9: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. Commented Dec 6, 2013 at 10:14

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

3 Comments

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.