Cookie not being accepted by server, new apache bug?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
shalombi
Forum Newbie
Posts: 3
Joined: Thu Feb 03, 2005 4:29 am
Contact:

Cookie not being accepted by server, new apache bug?

Post by shalombi »

I created a script for my school which allows teachers to make their reports online, the school runs suse 9.2 with the latest apache (Tuesday update) and my script worked fine up until Tuesday.
my problem is that after the cookie has been set client side the server wont take it back for some reason so when i do a check for the cookie to authenticate the user it things the user hasn't logged in.
I have checked and the cookies are set properly on the client side and the requests worked before and still work internally (from inside the school we use 192.168.1.1 with the exact same script but different address)
I was thinking their is something wrong with the apache because at one point we restarted apache in shell and then it worked once and then again the cookies couldn't be read.
If you have an idea i would really appreciate because i have been working for 5 hours now and found nothing on the apache web site saying their might be a bug.
Thanks

Max
shalombi
Forum Newbie
Posts: 3
Joined: Thu Feb 03, 2005 4:29 am
Contact:

solved

Post by shalombi »

by putting all the php files in the root directory of apache and not in the public html user folder it now works.
is this a bug??

Max
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

If you're using the stable version then this (99.999%) certainly won't be a bug in Apache. If you're using a dev or cvs version, then yes, its quite likely to be a bug.
shalombi
Forum Newbie
Posts: 3
Joined: Thu Feb 03, 2005 4:29 am
Contact:

oh thats weird

Post by shalombi »

the version is the automatic update form the suse update server.
the thing is we ssh to another computer to be able to test external connections and it works usually the first time then we need to reset the ssh coneciton for it to work the second time.
waiting to get out of school to test again.
this is a mess really.
we partially improved it by opeening all the alternate http ports on the firewall altough it isnt yet perfect.
the thing is it worked before this is new and unexplained that why i supose that it could be the apache altough we are trying all different possibilites.

Max
Post Reply