How to use session variables?

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

How to use session variables?

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

Re: How to use session variables?

Postby 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn


Return to “hacks & enhancements Support”

Who is online

Users browsing this forum: No registered users and 1 guest