This topic is locked

session id work flow issue

4/23/2007 8:37:02 PM
PHPRunner General questions
S
steveb author

I need to add a

session_save_path

ans

session_start();
to all of my pages. I have been inserting it with a smart search and replace before uploading to the server, but over the course of the day when generating several different versions for client review the extra steps add up.
Today i was working on two different projects for two different clients and got myself all confused becasue i gave each the others session_save_path.
Is there a way to put this in a template thats unique to each proooject some how ?
Thanks
Steve

Sergey Kornilov admin 4/24/2007

Steve,
put this code to include/header.php and it will be executed automatically in the beginning of each page.