Re: Sessions and naming a file with SID
| From: | Ernest E Vogelsinger | Date: | Thu, 22 Feb 2001 19:07:06 +0000 |
| Subject: | Re: Sessions and naming a file with SID | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41195@lists.php.net to get a copy of this message | ||
At 19:55 22.02.2001, Brandon Orther said:
--------------------[snip]--------------------
>Is there a way to start a session and then save a temp file with the name of
>the Session ID?
--------------------[snip]--------------------
RTFM:
session_start();
session_register();
Controlled by the INI file section [Session].
Given that you use the builtin session.serialize_handler (either php, or
wddx), and the default session.save_handler (files), files will be named
after the session ID, and be stored in the directory pointed to by the
session.save_path setting.
...ebird
>O Ernest E. Vogelsinger
(\) http://www.1-at-web.at/
^ ICQ# 13394035