HI
I have a similar problem as "eduardo dot sandino at
google dot com" indicates I'm having an script where I
post from and to the same script - developed on PHP 4.x -
it goes like:
if(!session_id()){
session_start();
}
$SessionId=session_id();
..
But it does not work on 5.2.4 - I get a new Cookie-file
created each time I re-load the page and hence a new
session_id - it's like the session_id is either not passed
to the script or the check for the session_id() is not the
right way to do it even if it works with php 4.x..
Any idears??
----
Server IP: 86.58.145.50
Probable Submitter: 87.48.115.119
----
Manual Page --
http://www.php.net/manual/en/function.session-id.php
Edit -- https://master
.php.net/note/edit/78458
Del: integrated -- h
ttps://master.php.net/note/delete/78458/integrated
Del: useless -- http
s://master.php.net/note/delete/78458/useless
Del: bad code -- htt
ps://master.php.net/note/delete/78458/bad+code
Del: spam -- https:/
/master.php.net/note/delete/78458/spam
Del: non-english --
https://master.php.net/note/delete/78458/non-english
Del: in docs -- http
s://master.php.net/note/delete/78458/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78458
Reject -- https://mast
er.php.net/note/reject/78458
Search -- https://
master.php.net/manage/user-notes.php
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|