Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / November 2007

Tip: Looking for answers? Try searching our database.

Session State

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rob Thomson - 30 Nov 2007 18:36 GMT
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
bruce barker - 30 Nov 2007 21:06 GMT
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)

> Hi
> I have a web site, with 2 virtual directories under it. All share the same
[quoted text clipped - 13 lines]
>
> TIA

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.