Solved

Persistent cookie time

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

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 5

Author Closing Comment

by:Sid_F
ID: 39817134
Thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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 …

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now