[Phpmyadmin-devel] sessions and framesets

Michal Čihař michal at cihar.com
Fri Mar 12 11:04:25 CET 2010


Hi

Dne Thu, 11 Mar 2010 17:05:15 -0500
Marc Delisle <marc at infomarc.info> napsal(a):

> Trying to solve a phpMyAdmin bug, I want to unset some values from an 
> array located in $_SESSION. At the end of footer.inc.php, just before 
> the exit I have a look and my values are gone from $_SESSION. However on 
> the next click, just after the session_start(), the values are back!
> 
> Is it possible that due to our two framesets, the navigation script 
> would end after the main script, therefore storing what I think was 
> unset() from my session?

Yes, there is no guarantee what frame will load first. And also in real
life it does differ between browsers.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20100312/6aee0e6d/attachment.sig>


More information about the Developers mailing list