something weird using session

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi there!

I encounter some troubles using $_SESSION, since I use a popup window
in my php code. I mean, $_SESSION['id'] contains a certain value, when
I click to get popup window opened, $_SESSION['id'] value has changed,
without being reaffected explicitly...
I'm still searching...
any idea??



Re: something weird using session

I think I have to a bit clearer...
I just have found a way to prevent this value to be changed...when I
call the popup window, I submit (using a piece of javascript) an url
supplied with a variable just like the field in my
$_SESSION..I have changed the name of that variable and everything
works fine...
But I still don't understand how a GET 'id' variable supplied in my
popup url could change my $_SESSION['id']..


Site Timeline