Jump to content

Cookie Expiration


tal
 Share

Recommended Posts

hello allif i set a cookie to expire like sosetcookie ("test","test",0,"/","","true","true");from the clients computer (where the cookie is actually set)is it possible to save it and use it in the future ?can i open the cookie file or browser settings some how and get the cookie not to expire ?thank youTal

Link to comment
Share on other sites

As long as the browser is still open the cookie should be there. The cookie should get deleted when you close the browser, or possibly when you navigate off-site. Temporary cookies don't really have a universal when-to-delete policy, but they should all be deleted by the time the browser is closed.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...