...

View Full Version : Is the PHP session ID still created without session_start?



kjc
09-13-2003, 07:34 PM
Does anyone know if this is true as I want to take out the session_start();. I am not registering any session variables, just the PHP Session_ID?

Cheers

mordred
09-13-2003, 08:02 PM
A session is started either when you call session_start() or session_register(), or when you have set session.auto_start to 1 in your php.ini. Without these you can't access session data.

kjc
09-13-2003, 08:10 PM
Would i need session start on every page or just the first page....

Spookster
09-13-2003, 09:43 PM
Originally posted by kjc
Would i need session start on every page or just the first page....

On any page you wish to access the session data.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum