Solved

Persistent cookie time

Posted on 2014-01-28
2
265 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Several part series to implement Internet Explorer 11 Enterprise Mode
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.

810 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