RE: [PHP] More Fun With Sessions!

2002-01-23 Thread Jeff Sheltren
Thanks, everyone for responding... after much headache I seem to have got it working. (not fixed, but working.) I was running php 4.0.6 on linux where the code worked. I just installed php 4.0.4pl1 on the freebsd box and now everything works great. It was probably not the best solution, but it

RE: [PHP] More Fun With Sessions!

2002-01-23 Thread Matt Schroebel
Your code works fine on my FreeBSD box running php 4.0.4pl1 but not one running php 4.0.6 ... May explain your linux issues? i.e. versions of php ... -Original Message- From: Richard Baskett [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 3:37 PM You only need to register

Re: [PHP] More Fun With Sessions!

2002-01-23 Thread Richard Baskett
You only need to register the variable once when you initiate the session. Also as of php 4.1 I believe you do not have to register your session vars you can just acccess them like $_SESSION['counter']: http://www.php.net/manual/en/ref.session.php Basically what I see you're doing is reregisteri