Re: session without cookies

From: Date: Sat, 27 Jan 2001 15:55:03 +0000
Subject: Re: session without cookies
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-36984@lists.php.net to get a copy of this message
I use $PHP_SESSID as a hidden variable in my forms, but when people turn off cookies, I get Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 The path looks fine and is writeable. But no session data is saved. I'm stumped. kind regards, bill Richard Lynch wrote: > > i use the session-functions with php4 and everything works fine. > > but if a visitor turns off cookies nothing seems to work.. > > > > is there a way to support a sessionid with cookies and thru the url ? > > Yes. Compile PHP --with-trans-id (?) or just echo $PHP_SESSID (or whatever > it is) into all your URLs and FORMs. > > -- > Visit the Zend Store at http://www.zend.com/store/ > Wanna help me out? Like Music? Buy a CD: > http://l-i-e.com/artists.htm > Volunteer a little time: http://chatmusic.com/volunteer.htm > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#36984) next »