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 2002 08:19 am, you wrote: > > 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". > > So you'll need to replace the first reference to session_register() with a > session_start(); > > > I gather I've some fun ahead with #3! If I use $HTTP_SESSION_VARS", will > > I still need to do this? > > Yes, you have a lot of work to do. You should use $_SESSION[] if you're on > php 4.1+ because is a magic global and you won't need to global it inside > functions. That makes the arrays much easier to use. You should use one > or the other arrays and don't mix them. Plus $_SESSION is less typing. > The hard part is making sure you find all of the references to the old > global session vars. Also, don't forget that the get and post vars won't be > globals and you have the reference them through the $_GET/$_POST arrays. -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the Holy Souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet: http://www.webhart.net/csrb/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php