Page 2 of 2

Re: _destruct : Quick question

Posted: Wed Jul 29, 2009 4:11 am
by marty pain
Thanks for all the help guys!
This seems unlikely to be the problem since you wrote it correctly later, but make sure you are using two underscores.
Yep, used two underscores in the program but not in my note, sorry about that!

In the case of these scripts, there is a large amount of script to execute after the header is sent. I made a bad assumption that all headers broke the flow of execution when sent, as before using them here I had mainly only used the authenticate headers, and they do break execution as the exit statement is only executed if the user cancels the authentication.

Here I need to guarantee the sessions are stable so I'll be using exit()/die() after the header call. I just need to check all the other places now and decide what to do with them (It's a pretty big application now and will take me a while!)
Any time! Have a drink for me, I haven't earned one yet today :)
Ended up drinking for quite a few people :D , but I still owe you one!