NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Kill a session


Joined: 24 Jan 2008
Posts: 18
Reply with quote
Hello,
I debugging an app in PhpEd that I need to kill the session so that I can debug again.
Is there an Easy way of doing this ,Maybe in a command window so that I dont have to shut down Phped to clear the variables?
Thanks
Mike
View user's profileFind all posts by ampelosoSend private message


Joined: 22 Dec 2007
Posts: 38
Reply with quote
Hey Mike,

What exactly do you mean? If you kill the debug session you are in with {stop}, the vars are cleared, then you can debug again.

I experience this problem:

Let's say I've got (2) files open......file1.php, file2.php

- I run the debugger in file1 a few times.

- I flip over to file2, go to the line at which I wish the debugger to stop, and [f4].

The debugger starts debugging file1 again. Man, this just 'bugs' the hell out of me! I have to [f9] in file2 before [f4] will work. Weird.
View user's profileFind all posts by LovinItAllSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
it looks like Mike needs to kill PHP SESSION. If you're debugging a complete php application, it probably contains [logout] button. It will drop the session.
If it does not, you may want to implement it first and call session_destroy() (see http://www.php.net/session and http://www.php.net/manual/en/function.session-destroy.php for further details). Alternatively, you can call this function from the immediate windows while you're stepping through the code.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Kill a session
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic