Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Session Lifespan
kvarnerexpress
post Feb 8 2006, 07:47 PM
Post #1


Super Member
*********

Group: Members
Posts: 407
Joined: 13-December 04
Member No.: 2,696



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?
Go to the top of the page
 
+Quote Post
kvkv
post Feb 9 2006, 12:06 AM
Post #2


Newbie [Level 3]
***

Group: Members
Posts: 40
Joined: 29-January 06
Member No.: 17,841



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.
Go to the top of the page
 
+Quote Post
OpaQue
post Feb 9 2006, 12:06 AM
Post #3


Administrator
Group Icon

Group: Admin
Posts: 1,443
Joined: 11-June 04
From: Somewhere in Time & Space.
Member No.: 1



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 ?


Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Session Start() Problem(5)
  2. Login And Registration Mysql Problems(2)
  3. something wrong with session.savepath(1)
  4. force session destroy(0)
  5. Online Rap Session(13)
  6. Session - Problem(0)
  7. Which Offer More Security: Cookie Or Session?(4)
  8. Session_start()(8)
  9. Session Variables(4)
  10. Php - Can Anyone Tell Me What "session" Actually Do?(5)
  11. Storing Session Variables Generated Dynamically(3)
  12. Php-fusion Cms(3)
  13. Php Session(6)


 



- Lo-Fi Version Time is now: 4th July 2008 - 10:13 PM