Saturday, May 18, 2002, 1:05:30 PM, I wrote:
SC> CGI, which works fine except that the CGI doesn't have permissions to
SC> my sessions that were saved running under the Apache module. I

Figured it out:

from Apache mod script before CGI script:

//allow CGI to access session
$sess_file = session_save_path()."/sess_".session_id();
chmod($sess_file,0666);

Sorry for the noise..

Steve
-- 
[EMAIL PROTECTED] ** http://mrclay.org


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to