Re: How to resume session by id?
| From: | Renze Munnik | Date: | Thu, 16 Aug 2001 16:06:31 +0000 |
| Subject: | Re: How to resume session by id? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63055@lists.php.net to get a copy of this message | ||
On Thu, Aug 16, 2001 at 05:41:47PM +0200, Darius Ivanauskas wrote:
> What we have here: registering variable $Session into current session.
> This code works perfectly if session id is propogated normally.
> Bu what i need is to set session_id and session_name so it can resume
> given session by given id. Normally session id is propagating through
> cookie. I have set [ini] session.use_cookie = 0; So it passes GET/POST
> session_id propagating method. And using url as i wrote before it doesn't
> gets session id and starts new session :(( So i need somehow to force it
> to use known session_id and start session using this session_id.
>
> --
> Darius Ivanauskas
Why don't you use session.use_cookie. When U use cookies for your
sessions, you can use whatever URL you like. PHP won't care about
that, and just use the cookie in order to determine the current
session.
--
* R&zE:
-- »»»»»»»»»»»»»»»»»»»»»»»»
-- Renze Munnik
-- DataLink BV
--
-- E: renze@datalink.nl
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
-- ««««««««««««««««««««««««