[Phpug] session weirdness

Fergal J Byrne editor at adnet.ie
Fri Jun 29 15:17:40 IST 2007


Kae Verens wrote:
> Fergal J Byrne wrote:
>> You're looking in $_GET for the session_id (initialize.php).
> 
> that's because it is being sent via GET (/upload.php?session_id=abcd)
> 
>> Try using $_REQUEST instead.
> 
> it would be exactly the same.
> 
> either way - the parameter being sent into session_id() is correct. I have 
> verified that the normal HTML/AJAX session_id is exactly what I am sending 
> into session_id() via Flash. Unfortunately, this then destroys the original 
> session when I run session_start(), instead of loading the existing session.
> 

Kae,

It's a long time since I had to debug something like this,
but how can you be uploading a file if you're using GET?

Assuming I'm barking up the wrong tree...

There are a number of potentially useful comments at:

http://ie2.php.net/manual/en/function.session-start.php

which might be relevant. In particular, the one about
included files, end tags and so on.  If you are using PHP5,
check the first comment about garbage-collecting.

-- 

Regards,

Fergal Byrne - Technical Director


Adnet: Web Builders to the Design Industry

http://www.adnet.ie/  t:+353 1 855 8951 aim/skype:FergByrne

Adnet Limited. 63 Lower Gardiner Street, Dublin 1, Ireland.
Registered in Ireland No. 229337




More information about the Phpug mailing list