Sessions
-
problem is with sessions: I have an aspx web application, which when strats creates some session variables. In this application, there is a point when I redirect user to other aspx application on same server (to different web application). When the user request that new web app. a new session is created. But problem is that I need to access these first session variables which I created?? Can the session remain the same?
-
problem is with sessions: I have an aspx web application, which when strats creates some session variables. In this application, there is a point when I redirect user to other aspx application on same server (to different web application). When the user request that new web app. a new session is created. But problem is that I need to access these first session variables which I created?? Can the session remain the same?
No you cant. Session is part of application and every application got its own sessions (users). So, the best way to do it is to share data between two applications. The problem here is that every application living in its own application domain. Every application domain got its own memory address so you can’t share data between them. As far as I know you can overcome it using two methods 1) Using remoting to share the data. Slower 2) Using memory map file to share the data. Faster.