PHP sessions |
Site Admin
|
you may want to read http://www.php.net/session on how php handles sessions.
Neither PhpED nor DBG debugger are involved. |
||||||||||||
|
|
Thanks, i have solved my problem
|
||||||||||||
|
Veteran
|
How have you solved it? I'm interested because I have to use an script only to clean session variables in order to not have to shut down phpED. The script is just
Theorethically, if I close the phpED Output window, the session cookie should be dropped and the session should be terminated. But things doesn't happen this way. |
||||||||||||||||
|
Site Admin
|
Even in theory, they shoud not be dropped Cookie belong to application (a running process in terms of Win32) and you should either change cookie value or finish the process to have them dropped. There are two ways, actually: a) do not use embedded browser (use external either FF or IE or maybe Opera) b) replace cookie value with empty string or pre-defined bogus value. (Run->Parameters, cookie) |
||||||||||||||
|
Veteran
|
You're correct. That's why all the multi-tabbed browsers make a mess with session variables when you open 2 or more tabs from the same server. All the tabs share the session cookie. The easiest way I found was to use the small script to clean session variables. A feature request for phpED would be to add a button to "Clear Session Variables" in the toolbar or the ability to link a button there to a php script. |
||||||||||||||
|
Site Admin
|
Feature request?
I think you're all set In 4.6 you can add your script to Launchbox and run it from there everytime you need. |
||||||||||||
|
PHP sessions |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by