May 16, 2008

Session Lifespan

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > .NET ( ASP.net VB.net )

free web hosting

Session Lifespan

kvarnerexpress
Hey all,
I am having trouble keeping session variables. If a visitor comes to our website, has a session variable set, then leaves our website and comes back, without closing their browser, should they lose their session variables? This is what's happening to me, and I was under the impression that session variables lasted until the expiration/inactivity timeout, or until the browser was closed. Am I wrong?

Reply

kvkv
Yes. If the user closes the browser, he loses his session variables. Session variables are always tied down to a browser session. By the way, what is the trouble you are facing? It is not very clear from your description.

Reply

OpaQue
Session variables are supposed to exist as long as the browser window is open.

However, since the browser which is a client side application is coming into picture, it MIGHT depend on the browser you are using and how it treats session variables.

Did you try this with diffrent browsers ?



Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : session lifespan


    Looking for session, lifespan

Searching Video's for session, lifespan
advertisement



Session Lifespan



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE