Session State

R

Rob Thomson

Hi
I have a web site, with 2 virtual directories under it. All share the same
app pool, and have session set to StateServer via the machine config level.
I want to manage state timeouts and do this via an HTTPModule which
registers an event handler for the session start. My problem is I get a
session start when I hit the root web site, then when I hit the virtual
directory, even though the timeout is set to 20 mins. The strange thing is
that i set items in httpcontext.curent.items and they get persisted between
calls. Indeed it is in hear that I set a have logged on flag, and that if i
get a session start I understand it as a session time out.

So can session objects persist between web site, and two sub virutal
folders. If the answer is yes which I believe it to be, any ideas what is
going wrong in the above scenario, and why I cant get the same session object
between calls

TIA
 
B

bruce barker

with out of proc session managers, the app vdir is used as a key to the
session data so that two web sites will not share session. also there is
no session timeout event (like in proc).


-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top