Page 1 of 1

quick question on session_start()

Posted: Wed Nov 26, 2003 10:25 am
by bckennyw
Just wondering what would happen if I do session_start() twice in the same page?

Thanks!

Posted: Wed Nov 26, 2003 10:30 am
by JayBird
try it and find out

i don't think anything will happen as such, but why would you want to?

Mark

Posted: Wed Nov 26, 2003 10:38 am
by bckennyw
Ouch! Alright =)

I did it 'cuz I wanna put both form submittion handling and data displaying on the same PHP page, but I'm not really good at using the isset() function.

Posted: Wed Nov 26, 2003 10:45 am
by JayBird
Sorry, didn't mean to sound abrubt, its cos i am at work, so i just get straight to the posint instead of typinf all the nice stuff :)
bckennyw wrote:...but I'm not really good at using the isset() function.
If you need help with this and wanna become good using it, thats what we are all here for.

Mark