Solved

Persistent cookie time

Posted on 2014-01-28
2
273 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 49

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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

What You Need to Know when Searching for a Webhost Provider
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

729 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