Posted by Rik on 01/04/07 22:11
Jeff wrote:
> php version 5.2.0
>
> From http://no.php.net/session I've read that a session is either
> stored in a cookie on the user side or is propagated in the URL.
Or a POST value.
> So if the session below (see code example below) isn't propagated in
> the URL then it's stored in a cookie?
Or not/not at all. No way to tell with this portion of the code. Check your
requests and answers to the site. If you're using Internet Explorer,
Fiddler is an invaluable tool. Likewise with LiveHTTPHeaders for Firefox.
> And also I'm wondering about how can I set the expire time of this
> cookie?. I mean I didn't use setcookie to create this cookie...
session.gc_maxlifetime for expiring session
session.cookie_lifetime for expiring session cookie
Check the values in Runtime Configuration on the url you gave us. It's all
there.
--
Rik Wasmus
[Back to original message]
|