I am pretty positive this problem isn't being generated by my scripts because I have used them on a different (Linux+Apache) server and they worked fine and dandy, but if this problem doesn't pertain to apache+Windoze, I'm sorry for posting in the wrong forum...
Anyways,
I have Windows XP, Apache 2 and PHP 5.1.1 all brand spankin new. I have everything pretty good, but I absolutely cannot get my sessions to work. I have a login script and all my other pages have session_start(); as the first thing but the variables that I set in the login script (i.e. $_SESSION['user']) dont carry over into the other pages.
And when I try to call those variables with errors on, I get an "undefined index" error meaning the variable array isn't set.
I am absolutely befuddled with this one so anything is welcome--
Just right after setting this variables, try printing them so you can be sure they were set and have something inside.
A piece of code would help Can you show us ?
__________________
Best Regards,
Gonçalo "GesF" Fontoura
NuSphere PhpED 5.5
: The Staff of php-editors.com recently spent a few days working with NuSphere
PhpED 5.5
(a popular PHP IDE) and
NuCoder 2.0
(a PHP Encoding Utility), read up on all the details.