Re: setcookie doesn't save session properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I'm using
> setcookie($sessionName, $sessionid, time()+60*60*24*10000,
> $sessionCookie['path'], $sessionCookie['domain'],
> $sessionCookie['secure']);
>
> to, obviously, store a session.
> Also, I only use session_start() so perhaps I'm supposed to call
> session_id()?

I'm not sure why the cookie is being mis-saved, but sessions ARE
supposed to save the cookies automatically.

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux