...

View Full Version : sessionstart



abarajitha
03-26-2010, 09:02 AM
Should we use session_start() for(each) every page in php while using....
I came to know that session_start() can be used only once so that it may be used for all the pages, i worked it by using in all pages if i do that i culd get the session id r else i culdnt get the session id

abduraooft
03-26-2010, 09:12 AM
Should we use session_start() for(each) every page in php while using....
Yes. Or you could make a file, say config.php and add session_start() into it and then include this file at the top of all files where you need to get sessions.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum