|
Posted by Andy Hassall on 10/13/06 21:11
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@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|