By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,574 Members | 1,459 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,574 IT Pros & Developers. It's quick & easy.

Remove cookie value when all browsers closed

P: 28
Miss/Mr. Programmer,

I have a idea to remove the cookie value from a website after all browser closed. It is like session kept in server and eliminate after all browser closed. My purpose is reducing browsing security issue through minimize the data resident in the cookie.

The reason i using the cookie instead of session because I used cookie in applying SSO (Single Sign On) for different web application server instead of single server.

I know we able detect a browser closed via onunload javascript, but i need to detect when i closed all browser. Please advice it.
Oct 26 '09 #1
Share this Question
Share on Google+
3 Replies

Expert Mod 5K+
P: 8,639
use the Cookie’s Discard flag.
Oct 26 '09 #2

P: 28
You mean Cookie Discard property from .Net Library class?
I'm actually developing via the J2EE language so this cannot be done in my code.
Oct 27 '09 #3

Expert Mod 5K+
P: 8,639
no, I mean the cookie’s discard flag. as defined in RFC 2965.
Oct 27 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.