ASP Hosting sale!
Double disk space and transfer for FREE!
Limited time offer! Act Now!

aspdev | articles | tutorials | forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ASP Sessions question

 
Post new topic   Reply to topic    ASPdev.org Forum Index -> ASP programming
View previous topic :: View next topic  
Author Message
dino



Joined: 21 Nov 2004
Posts: 3

PostPosted: Sun Nov 21, 2004 8:44 am    Post subject: ASP Sessions question Reply with quote

Hey all,

I have a ASP Session question. I'm declaring a session variable Session("Username") when my users successfully login to my ASP application.
Some of the ASP pages in my application use this session var, some don't.
What happens if after my user logs in he selects a ASP page that doesn't use my Session("Username") session var, do I lose the session var?



Yours,

Dino
Back to top
View user's profile Send private message
administrator
Site Admin


Joined: 01 Oct 2004
Posts: 183

PostPosted: Mon Nov 22, 2004 10:45 am    Post subject: Reply with quote

Hi Dino,

You will not lose the Session variables, on the pages where you don't use them. You will lose your Session variables if your session expires or if you close your browser.
_________________
Peter
ASP & ASP.NET Articles and Tutorials
Back to top
View user's profile Send private message
dino



Joined: 21 Nov 2004
Posts: 3

PostPosted: Tue Nov 23, 2004 1:25 pm    Post subject: Reply with quote

administrator wrote:
Hi Dino,

You will not lose the Session variables, on the pages where you don't use them. You will lose your Session variables if your session expires or if you close your browser.



Thanks Peter,

I have a better understanding of how ASP Sessions work now Rolling Eyes



Dino
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ASPdev.org Forum Index -> ASP programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

SQL Tutorial