Re: [PHP] Switching from "Register_Globals=On"

2002-04-13 Thread Andre Dubuc
Thanks Matt. Well, I guess the best time to start is now. I'll use $_SESSION -- sounds like less work. Wish I had used them to begin with . . . but back then, I only had two pages -- I sort of "forgot" to switch over while coding. Thanks for your advice, Regards, Andre On Saturday 13 April 2

Re: [PHP] Switching from "Register_Globals=On"

2002-04-13 Thread Andre Dubuc
Thanks Matt, Actually, at this point, I've reverted back to "register_globals=on" until I figure out what's the best way to do this. So far, I have no references to "session_register() on any page. In your opinion, should I go with "$_SESSION" or use the other approach, $HTTP_SESSION_VARS".

Re: [PHP] Switching from "Register_Globals=On"

2002-04-13 Thread Matt
> I've read the manual on "Session handling functions", but I must have a thick > block on this concept . What should I do now that I want to use > $HTTP_SESSION_VARS or $_SESSION ? How do I implement it on secondary pages? > Will I be facing a major re-write of all my code? [Gulp :>] Yes. 1. Yo