How to use session variables?

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
Post Reply
johan_further
Posts: 13
Joined: Thu 3. Jul 2008, 16:41

How to use session variables?

Post 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?
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: How to use session variables?

Post by Oliver Georgi »

no there isn't.

Start with:

Code: Select all

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

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply