Re: session_set_cookie_params and session_save_path
- From: Andy Hassall <andy@xxxxxxxxxxx>
- Date: Fri, 13 Oct 2006 22:11:31 +0100
On Fri, 13 Oct 2006 20:29:54 +0100, turnitup <same@same> wrote:
I seem to be able to get these to work separately, but not together.
So if I do
session_save_path("/blah/blah/")
it saves my sessions to that path.
but if I follow it by
session_set_cookie_params(nnnn, "/blah/blah/")
it breaks session_start.
You've possibly misunderstood the "path" parameter on
session_set_cookie_params - it's the URL path prefix for which the cookie
applies - corresponding to the path parameter on setcookie() - it is not the
session save path.
--
Andy Hassall :: andy@xxxxxxxxxxx :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
.
- References:
- session_set_cookie_params and session_save_path
- From: turnitup
- session_set_cookie_params and session_save_path
- Prev by Date: Re: how to get multiple=multiple values from an optgroup ?
- Next by Date: Re: how to get multiple=multiple values from an optgroup ?
- Previous by thread: session_set_cookie_params and session_save_path
- Next by thread: Re: session_set_cookie_params and session_save_path
- Index(es):
Relevant Pages
|