How to use session variables?

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

How to use session variables?

Post by johan_further » Wed 9. Jul 2008, 13:35

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: 9522
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau

Re: How to use session variables?

Post by Oliver Georgi » Thu 24. Jul 2008, 08:38

no there isn't.

Start with:

Code: Select all

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

Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Kleintierpraxis am Georgengarten

Post Reply