Page 1 of 1

Sessions

Posted: Fri Jul 28, 2006 4:26 am
by ganeshXL
This may be obvious for a lot of people... it wasn't for me though, so I thought I'd share this:

If you need your own PHP sessions in the front-end (e.g. for a shop or login), don't use any user-defined tags. I tried to add session commands at the very top of my template files, but it was completely ignored (no errors either).

What you have to do is simply take the index.php file and add your own session commands at the very top of that file, and re-upload it.

Maybe this will help someone else in the future... I lost quite a few hairs over this (not that I got many left, mind you...)

A note in the FAQ/docs about it would make sense perhaps...