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
session var for all pages
Moderator: General Moderators
Re: session var for all pages
Can you post your code please? You need to ensure that you are starting a session on all pages that require the use of sessions.
Moved to PHP - Code