Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

We've noticed what looks like strange behavior when using Chrome's application shortcut (Tools | Create application shortcuts). If you're visiting a site using the shortcut, and that site has cookies that expire with the session, opening and closing Chrome will delete those cookies. For us this is an issue because deleting those cookies effectively logs the user out of the application.

Steps to reproduce:
- Using an application shortcut, go to a site that has a cookie set to expire with the session
- Open up Chrome normally, then close it
- Notice that all session expiration cookies have been deleted

This does not happen if you visit the site using the browser as normal. Unsure whether this is a bug or not, hoping to work around it somehow.

share|improve this question
add comment

1 Answer

Opening and closing Chrome should always delete all session cookies. If it doesn't, there's a bug.

A user's session cookie (also known as an in-memory cookie or transient cookie) for a website exists in temporary memory only while the user is reading and navigating the website. When an expiry date or validity interval is not set at cookie creation time, a session cookie is created. Web browsers normally delete session cookies when the user closes the browser.

(From Wikipedia)

share|improve this answer
    
Right, maybe I wasn't clear in my question. Open up a site using an application shortcut. Then open a different instance of Chrome, and immediately close it (your application shortcut is still open). Any session cookies that belonged to the application shortcut are now gone. –  Mike Hildner Jan 30 at 14:58
    
That sounds more like a bug. However, it's easy to understand how that happens. –  Olli Jan 30 at 14:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.