Mm yeah, I just thought that sessions "allways" was a combination of session information located on the server and a cookie on the client machine that "revives" the session when the user comes back. I changed the setting for this on my own machine in the php.ini file like so:
What I'd like to know is if you could override this setting in the sourcecode of your pages?Code:[Session] ; Handler used to store/retrieve data. session.save_handler = files ; Argument passed to save_handler. In the case of files, this is the path ; where data files are stored. Note: Windows users have to change this ; variable in order to use PHP's session functions. session.save_path = some path ; Whether to use cookies. session.use_cookies = 1 ; Name of the session (used as cookie name). session.name = blaaaaa ; Initialize session on request startup. session.auto_start = 0 ; Lifetime in seconds of cookie or, if 0, until browser is restarted. session.cookie_lifetime = 604800
I don't know maybe I'm just talking out of my assI've only been reading PHP for 4 weeks so...
The project I'm working on is this btw: http://bender.homeftp.net:4224/ (if it's down, I'm probably asleep)




I've only been reading PHP for 4 weeks so...
Reply With Quote