Share Single Session between different .net Solutions

  • Thread starter Thread starter Rommellion
  • Start date Start date
R

Rommellion

We have 5 to 6 projects .net running on production, in which each one
has its own virtual direstory, however we need to add up two more and
link them all together so they can share same single session state. we
are doing this for some Authentication and Role identification
purposes.
We dont want to use any Db like storing session in SQL Server or
whatever, also we dont need to use niether encryption nor passing
parameters, because we will have lot of heck in changing the code in
all of our projects.
I tried to develop a simple prototype in which two different
application one of them stores value in a session and the other try to
read from the session, also with use of another page, but simply it
failed.
I looked over the internet for a real solution but nothing i can depend
on so far.

Any Clues??
Thx
 
If you have to maintain common "session", you will have to store data
somewhere.
IMO you can write somekind of session wrapper that will simulate ASP.NET
session object.
Doing so will result in small code change. Also you can define BasePage
class, and inherit all forms from it.
This BasePage will contain Session property that will point to you session
wrapper.
 
Back
Top