Persistant cookies and non-persistant cookies.

A

archana

Hi all,

Can anyone tell me what exactly persistant cookies and non-persistant
cookies means.


I read some where that in non persistant cookies if i am using session
data remains in that cookies untill end of session.

But in persistant cookies, data remains in cookies until it expires.
Does it means that even if session ends data remains in cookies? If
yes what happend if i access same website again?

will it give me previously stored data?

Please correct me if i am wrong.

thanks in advance.
 
A

Aidy

A peristant cookie is written to the hard drive and will expire at some
point in the future. A non-persistant one exists only while your browser is
active. If you shut the browser down the cookie is gone. ASP stores your
Session ID in a non-persistant cookie.

Your session data is not stored in the cookie itself but on the server.
Only your session ID is in the cookie.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top