session vars on the templates

session vars on the templates

Postby DEUTSCH on Thu Jun 26, 2008 4:55 pm

HI

I'm trying take session vars in a template, how can I do it?

urgent help, please.
thks.
DEUTSCH
 
Posts: 4
Joined: Thu Jun 26, 2008 3:37 pm
LifeType Version: 1.2.8

Re: session vars on the templates

Postby jondaley on Thu Jun 26, 2008 7:33 pm

You can either write a plugin to expose the session variables, or else turn off php security to allow any php code to be written in the templates. I wrote a "cookie" plugin, which exposes the cookie information, you could get that one, and replace COOKIE with SESSION, and probably be done.
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch


Return to Templates