Computing.Net > Forums > Web Development > Unexplainable ....

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Unexplainable ....

Reply to Message Icon

Name: Jamie_McCoy
Date: April 1, 2005 at 16:29:12 Pacific
OS: XP Pro 5.1
CPU/Ram: Pentium 4 2.4Ghz
Comment:

ok, heres the drill

my site uses a php cookie login system, the cookie is called using the following code, which will also unclude the members login details to the page, for use in the php

<?
$cookievars = $HTTP_COOKIE_VARS[user];

$page = $cookievars[1];

include("../members/".$page."/".$page.".txt");
?>

now heres the wierd problem, this has happened before, but now its even wierder, no matter what, $page = thomas

thomas is a user on my site, ive asked 5 mates to test this, and all the same. its basically saying their is a cookie on our system with the ID of user thomas

along the same lines, some people on my site get logged in as another user when logging in...

the only possible explination, is server side this users details have been stored / put into temp memory

god knows why or how, but only thing i can think of

roamhosting.net



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: April 2, 2005 at 13:10:18 Pacific
Reply:

If the cookies have the wrong information, then you need to look at the process that is creating the cookies in the first place.

Michael J


0
Reply to Message Icon

Related Posts

See More


Invalid buffer received f... bulk emailing



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google