I have two different web applications: Phase I and Phase II.
Phase II has a dependancy on phase I for some session values.
I want to run these two applications with sharing session variables.
I don't want to use state server to store session.
I have used inproc session and I want to share this session together.
How do I achieve this?
From stackoverflow
-
you cant share the session between 2 apps with in-proc sessions because in-proc session runs within the context of an application. you can share the session only by taking it out of the application's context which is possible only with out-proc session mode.
Rahul Somwanshi : thanks vikram, is there any other posibility to do this..Vikram : there is one way that you build your state manager and expose it as a service to both your apps. however, in my opinion this would be quite a bit of an effort to circumvent the usage of out-proc sessions.Vikram : and i dont really think that it would be worth avoding to use out-proc session mode and building your own from scratch. -
Take a look into this LINK i guess it might help you setting things up.
0 comments:
Post a Comment