Re: Question: re: Session-only cookies and Firefox
| From: | Jason Barnett | Date: | Mon, 14 Feb 2005 16:07:07 +0000 |
| Subject: | Re: Question: re: Session-only cookies and Firefox | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208633@lists.php.net to get a copy of this message | ||
Rgl wrote:
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Question: Has anybody else noticed session-only cookies not disappearing when using Firefox? Is this a Firefox bug (should they be notified/ or I get latest Firefox) ?<grin>They finally released 1.0, and yet you still use 0.8?</grin> I use Firefox quite regularly, but I don't experience the problem that you describe. Then again I use 1.0 now (though I used 0.8 for a while and don't recall having this problem at that time either...)
Using IE6 I can: setcookie('sesvar', 'this session only', 0, "", "www.mypersonaldomain.net"); This can be read and disappears after the browser has been closed. Doing the same with Firefox 0.8 the cookie can be read, but also can be read when the browser has been closed and a new one opened. It can also be read after logging out, closing the browser and reopening a new browser.Very strange indeed! I honestly can't think of why the browser would store the cookie longer than a session, *especially* if your PHP script used cookie destruction.
Any ideas Many Thanks Roger PS - I hope that this is the correct place to ask this questionA better place is the Firefox online forum: http://forums.mozillazine.org/viewforum.php?f=38 There are a lot of knowledgeable people (more knowledgeable than me at least!) on that forum and it is *very* active. -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://www.php.net/manual/en/index.php STFW | http://www.google.com/search?q=php LAZY | http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc