[PHP-DEV] session_set_cookie_params From: Andrew Proud (Andrew.Proud <email protected>)
Date: 03/15/01

Hi

My site works fine on my own web server, but when I move it to my Host I get
errors in the header when I am trying to start a session. I am sure that
this used to work before the weekend. It just seemed to stop whilst my host
is saying that they have changed nothing.

I get an error that includes

Set-Cookie: PHPSESSID=4142f0866290be140caf28d527596edf; path=/ Expires: Thu,
19 Nov 1981 08:52:00 GMT '

My host says I need to put a session_set_cookie_params line before I start
the session.

Firstly - does this sound right ?

Secondly - If the cookie is only for the life of the sesion what should I
set it to.

Thirdly - Can anybody explain how it is working on my server but not on my
hosts.

Any help will be greatly appreciated.

Thanks

Andy

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>