session var for all pages
Posted: Fri May 08, 2009 4:58 pm
Dear,
Am new to PHP, I am not able to access the session variable on all of the website pages. However the PHP page where I have created the object of the class which actually starts the session, easily allows me to access all session properties.
I think the problem is with the object of the class that starts the session, can any one help me if this is the case then where I should place it, so that it would be easily accessible by all the pages directly.
thanks in adv
Am new to PHP, I am not able to access the session variable on all of the website pages. However the PHP page where I have created the object of the class which actually starts the session, easily allows me to access all session properties.
I think the problem is with the object of the class that starts the session, can any one help me if this is the case then where I should place it, so that it would be easily accessible by all the pages directly.
thanks in adv