Re: session_id() how to get?

From: Date: Thu, 21 Mar 2002 14:30:29 +0000
Subject: Re: session_id() how to get?
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3178@lists.php.net to get a copy of this message
On Thu, 21 Mar 2002, programisci_listy wrote: > I want to use session_id() in Smarty but I do not know how to get it > directly. > {$smart.session.variable} works with session variables, not > with the id. I need it to add to my urls. If you use default sessions name (PHPSESSID), you can access it as {$smarty.cookies.PHPSESSID} or {$smarty.get.PHPSESSID} depending on which way it's passed. -Andrei "Then again, E=mc^2 may only be a local phenomenon." -- Einstein

« previous php.smarty.general (#3178) next »