Hi, I just want to know if I can get around with with this toil. I've to write session_start(); on every page that I want to use the session values. I noticed that some software I've downloaded doesn't use session_start() that often. Thanks Ket
You can include session start in a header, db file and include it in every script? Not too sure what you're talking about. Do you not want to use session_start anymore?
You could not use sessions, or you could require/include a global file that has session_start() in it on every page that you need sessions.
Here are 2 more useful options: Set : session.autostart = 1 in your php.ini file if you don't have access to php.ini file, always create session variables using session_register() function instead of assigning directly to the $_SESSION global variable. The session_register() function will start the the session if it's not already started...