Re: [SMARTY] Smarty and Sessions

From: Date: Mon, 04 Jul 2005 18:08:32 +0000
Subject: Re: [SMARTY] Smarty and Sessions
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12774@lists.php.net to get a copy of this message
Smarty just has config variables. $smarty.session.user is the same thing as: $_SESSION['user']. $smarty.session.user is just an easy way to access SUPER GLOBAL arrays. You could do the same thing with _GET, _POST and _REQUEST If you wanted to show your $_POST['user'] variable in smarty it's a matter of: {$smarty.post.user} Smarty++ On 7/4/05, Jim MacDiarmid <jim.macdiarmid@comcast.net> wrote: > > I'm very new to Smarty so I'm hoping someone can help me. > > Can someone explain how the $smarty.session.user variable is set? Is this > something native to smarty or something unquie to the sample code I have? > > TIA, > > Jim > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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