RE: [PHP] best way to use session vars?

2003-10-20 Thread Ford, Mike [LSS]
On 19 October 2003 13:00, David T-G wrote: It seems to me that for a fast fix I could set $pw and other vars in my include file in place of registering them and then, later, take my time to correctly switch over to $_POST['pw'] and $_SESSION['pw'] everywhere. Does that sound like a good

Re: [PHP] best way to use session vars?

2003-10-20 Thread David T-G
Mike, et al -- ...and then Ford, Mike [LSS] said... % % On 19 October 2003 13:00, David T-G wrote: % % It seems to me that for a fast fix I could set $pw ... % my code back up and running the soonest? % % Yes. There's even a PHP function to help with this quick-and-dirty

Re: [PHP] best way to use session vars?

2003-10-19 Thread David T-G
Curt, et al -- ...and then Curt Zirzow said... % % * Thus wrote David T-G ([EMAIL PROTECTED]): % % Should I use $_SESSION for everything or should I use session_start and % session_register and friends instead? Is there a clear win with either % one? % % $_SESSION is the proper way to do

Re: [PHP] best way to use session vars?

2003-10-18 Thread Curt Zirzow
* Thus wrote David T-G ([EMAIL PROTECTED]): Hi, all -- Well, now that I have to change my code around, I suppose I should learn the best way, if there is one in particular, to manage sessions. Should I use $_SESSION for everything or should I use session_start and session_register and