Solved

Persistent cookie time

Posted on 2014-01-28
2
268 Views
Last Modified: 2014-01-29
If I set a persistent cookie to expire after 30 minutes I would like to know if this means the cookie will expire after 30 minutes regardless of the user being still logged into the site or does this mean after the user closes the browser from that point on it will take 30 minutes to expire.
I'm publishing Sharepoint through ISA and wanted to find a more secure way of dealing with persistent cookies.
0
Comment
Question by:Sid_F
2 Comments
 
LVL 48

Accepted Solution

by:
dbrunton earned 500 total points
ID: 39816121
>>  The cookie will expire after 30 minutes regardless of the user being still logged into the site.

See https://en.wikipedia.org/wiki/HTTP_cookie#Expires_and_Max-Age and the phrase

... allows the use of the Max-Age attribute to set the cookie’s expiration as an interval of seconds in the future, relative to the time the browser received the cookie.

which is what I suspect you are doing.
0
 
LVL 6

Author Closing Comment

by:Sid_F
ID: 39817134
Thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question