Page 1 of 1
sessions problem
Posted: Wed Jul 30, 2003 3:26 am
by Sord
Hello, I am running PHP 4.3.2. I am working on the user authentication part of my website, and when I test my site on the computer it's hosted on, the sessions and everything work (passing information such as user_level or first_name). However when I try from a different computer (non-local) the sessions don't carry over. I will post my code or create a test user if someone needs to look at it.
Thanks!
Posted: Wed Jul 30, 2003 10:24 am
by m3rajk
this sounds to me like yourcode works, but hat the issue is the settings on the network
Posted: Wed Jul 30, 2003 11:42 am
by Sord
What settings should I look at? I'm running Apache 1.3.28 on Mac OS X 10.2.6, with a wireless network however my computer is the DMZ (meaning I get the real IP)
Posted: Wed Jul 30, 2003 3:12 pm
by m3rajk
look at how it deals with the outside world.
it sounds like the router or bastion host is doing something to requests to your server from the outside world. since i son't know your router/bastion host i don't know what specifically could be causing that.
normally it'd be the keep-alive or something else that deals with realizing this is still the same login as before
Posted: Thu Jul 31, 2003 11:17 pm
by Sord
Well, Im hosting two websites here, and the second one had the problems. It was in my /iceis directory (/ relative to the webservers directory), and the domain for the second one was at cjb.net, while the first was at dyndns.org. I found that the first site worked fine with the sessions, so instead of trying to solve the problem by reworking my site or domain or whatever, because the two sites are very similar I simply merged the two. A user goes to register, places a check by whichever site, or both, and when they go to login they get a menu for whichever site they are registered to.