Re: [SMARTY] Smarty and Sessions

Evan Wagner <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
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 <[email protected]> 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
> 
>

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.