Reply to Re: newbie: is this data stored in a cookie?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация