Posted by Robert Hennig on 02/01/06 17:21
Hello Mike,
if you use the second approach there also a cookie will be sent. If you
have a look at http://www.php.net/manual/en/ref.session.php you could
see the entry for "session.cookie_lifetime" with the following description:
session.cookie_lifetime specifies the lifetime of the cookie in seconds
which is sent to the browser. The value 0 means "until the browser is
closed." Defaults to 0.
As I understood your question this is exactly what you've been looking
for. So the second approach, using session_start(), will fit best in my
opinion.
Robert
[Back to original message]
|