use NEWLY-ASSIGNED SESSION id?

From: Date: Fri, 06 Apr 2001 04:48:01 +0000
Subject: use NEWLY-ASSIGNED SESSION id?
Groups: php.general 
Request: Send a blank email to php-general+get-47398@lists.php.net to get a copy of this message
My PHP script (with --trans-sid enabled) assigns a session ID for people without cookies. No big deal, right? BUT THE BIG QUESTION IS: Can I immediately know what long string PHP assigned to the session, without having to click to a different page first? I want one single PHP page to #1 - assign a session #2 - then use header ("Location: http://someurl.php?PHPSESSID=" . $userid) immediately in that same page. ((The reason why would take too long to explain.)) So... HOW COULD I DO THIS? (without cookies enabled?)

« previous php.general (#47398) next »