Posted by Vince Morgan on 04/25/07 15:16
"Jonno" <jonattree@gnosis-consultancy.co.uk> wrote in message
news:1177501291.323146.24910@s33g2000prh.googlegroups.com...
> Hi
>
> I am having a problem with session vars being propagated between pages
> on this site:
> http://www.meettheancestors.com/sessiontest/index.php
> If you enter any user id and password and click Log In (no actual
> validation is performed), and then move around the other pages and/or
> keep refreshing the pages it will eventually display something that is
> incorrect i.e. saying your logged in when you aren't or vice versa.
> The exact same code here http://ccgi.gnosis.free-online.co.uk/index.php
> works fine implying a problem with the first PHP installation.
> Here is the code for the 3 files:
> =========== index.php =============
Well, I've been able to reproduce exactly what you have described on my
machine. Clearing the cookies etc made no difference. One site
(meettheancestors)works as it should, and one seems to be getting the
session vars confused on the server. From one moment to the other I get
either previously entered username/s or the current one. There appears to
be no actual patern that I can discerne, its virtualy randomly returning
info from another instance of the seesion var.
I can't see how it can't be something to do with the server. It's certainly
nothing to do with the browser, as I'm using (IE6) exclusively.
This is a genuine problem you got here!
[Back to original message]
|