Gweilo
09-28-2003, 04:03 PM
hi,
How do I pass the SESSID (for users, that have cookies disabled), if I use a post form? My first guess would be to do this:
<input type="hidden" name="PHPSESSID" value="<?=$sid?>" />
Would this work? Or does it even have to be passed manually?
I didn't find anything on the net, so I assume it is passed automatically. Hm, that makes me thinking. That would make it browser-dependent, and I don't like to rely on browsers...
Oh, and when I'm at it, another question popped up: I have two servers and one of them automatically adds PHPSESSID=bla to the URL, when the user has Cookies disabled. Sessions work fine there. The one passing the SID is Version 4.3.3 and the other one is 4.2.2
Does that mean, that I don't have to pass the SID, if my PHP version is 4.3(something) or greater?
I appreciate any help!
How do I pass the SESSID (for users, that have cookies disabled), if I use a post form? My first guess would be to do this:
<input type="hidden" name="PHPSESSID" value="<?=$sid?>" />
Would this work? Or does it even have to be passed manually?
I didn't find anything on the net, so I assume it is passed automatically. Hm, that makes me thinking. That would make it browser-dependent, and I don't like to rely on browsers...
Oh, and when I'm at it, another question popped up: I have two servers and one of them automatically adds PHPSESSID=bla to the URL, when the user has Cookies disabled. Sessions work fine there. The one passing the SID is Version 4.3.3 and the other one is 4.2.2
Does that mean, that I don't have to pass the SID, if my PHP version is 4.3(something) or greater?
I appreciate any help!