dschmierer
01-31-2007, 11:08 PM
Hi,
I'm using a cookie to track a logged in user at my website. I'm not setting any expiration time so that the cookie expires when the browser session expires (browser is closed).
Is it possible to make the cookie expire when only the browser window my website is in is closed? In other words, it seems that the default cookie behavior is to persist until ALL browser windows are closed (ie. all Firefox windows). Given that multiple window browsing is so common I would like to make my cookie expire when just my website window is closed. Is this possible?
Thanks in advance,
Dave
I'm using a cookie to track a logged in user at my website. I'm not setting any expiration time so that the cookie expires when the browser session expires (browser is closed).
Is it possible to make the cookie expire when only the browser window my website is in is closed? In other words, it seems that the default cookie behavior is to persist until ALL browser windows are closed (ie. all Firefox windows). Given that multiple window browsing is so common I would like to make my cookie expire when just my website window is closed. Is this possible?
Thanks in advance,
Dave