Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: What is Difference between Session and Cookie

by Anonymous Monk
on May 10, 2011 at 11:08 UTC ( #903952=note: print w/replies, xml ) Need Help??


in reply to Re^2: What is Difference between Session and Cookie
in thread What is Difference between Session and Cookie

The problem with sessions is that when you close your browser you also lose the session.

That is not a property of sessions.

If closing your browser deletes cookies, and deletes the session cookie, then there is nothing associating your browser and the session, and the session can be considered lost.

If however, a session is also associated with an account, breaking the association with the browser (deleting cookies) doesn't break the association with the account -- you can resume the session after you log-in again

  • Comment on Re^3: What is Difference between Session and Cookie

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://903952]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2021-09-25 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?