Page 1 of 1

How to use session variables?

Posted: Wed 9. Jul 2008, 13:35
by johan_further
I am currently producing a couple of new replacement tags for use in my site. I am working with standalone files in the frontend_render folder to parse the tags.

I would now like to manipulate session data to make the session aware that I have submitted a form on a certain page. I've tried using the $_SESSION array directly but it doesn't seem to work since this array seems to be completely empty. Is there a different way of doing this in PHPWCMS?

Re: How to use session variables?

Posted: Thu 24. Jul 2008, 08:38
by Oliver Georgi
no there isn't.

Start with:

Code: Select all

<php? dumpVar($_SESSION); ?>
Don't use this on public site!

Oliver