[PHP] Re: Sessions, sessions and... sessions

2004-03-02 Thread Puiu Hrenciuc
I have make a workaround for my problem using MySQL for session storage and not using the PHP generated SIDs, but using some SID generated with something like this : $tsid=$_SERVER['HTTP_USER_AGENT'].'|'.$_SERVER['REMOTE_ADDR'].'|'; $tsid=md5(md5($tsid)); session_id($tsid); session_set_save_ha

Re: [PHP] Re: Sessions, sessions and... sessions

2004-03-02 Thread Daniel Clark
session.save_path string session.save_path defines the argument which is passed to the save handler. If you choose the default files handler, this is the path where the files are created. Defaults to /tmp. If session.save_path's path depth is more than 2, garbage collection will not be perfor

Re: [PHP] Re: Sessions, sessions and... sessions

2004-03-02 Thread Daniel Clark
I believe the PHP.INI has to be set with a Session variable temp directory. > Hi Puiu, > I've been having the same problem too. My code that worked up until > recently > just stopped working. I did change from using: >session_register("user_id"); >if (!(user_id)){ > > to usin

[PHP] Re: Sessions, sessions and... sessions

2004-03-02 Thread Puiu Hrenciuc
I don't use session_register(), just the $_SESSION global variable, so this is not it... :( "Pance" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Puiu, > I've been having the same problem too. My code that worked up until recently > just stopped working. I did change from using

[PHP] Re: Sessions, sessions and... sessions

2004-03-02 Thread Pance
Hi Puiu, I've been having the same problem too. My code that worked up until recently just stopped working. I did change from using: session_register("user_id"); if (!(user_id)){ to using: session_start(); if (!$_SESSION['user_id']){ Now it works with my comput

[PHP] Re: Sessions, sessions and... sessions

2004-03-02 Thread Pance
Hi Puiu, I've been having the same problem too. My code that worked up until recently just stopped working. I did change from using: session_register("user_id"); if (!(user_id)){ to using: session_start(); if (!$_SESSION['user_id']){ Now it works with my comput