Categories > TinyButStrong general >

A little bit of sessions!

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Blackeye_Guy
Date: 2004-10-19
Time: 22:06

A little bit of sessions!

How can I do to access a multi-level session like $_SESSION['name']['name2']['name3'] etc... using TBS  ?

or using some php code solution ?

thanks
By: Skrol29
Date: 2004-10-20
Time: 15:42

Re: A little bit of sessions!

Do you have an example of what you want to do ?

[var._SESSION.name.name2.name3] should work to retrieve the data in the template.

You can also use a variable by reference to simplify the tag:
PHP: $myvar = &$_SESSION['name'];
HTML: [var.myvar.name2.name3]
By: Blackeye_Guy
Date: 2004-10-20
Time: 15:46

Re: A little bit of sessions!

Yeah it worked..

thanks