[Discuss] PHP Session solved -- sort of
Carl B. Constantine
duckwing at duckwing.ca
Sat Jun 24 20:52:14 PDT 2006
On Fri, 2006-06-23 at 14:58 -0700, Darren Duncan wrote:
> At 11:43 AM -0700 6/23/06, Deryk Barker wrote:
> >Thus spake Carl B. Constantine (duckwing at duckwing.ca):
> >
> >> Isn't it always the case, you ask a question and then a few minutes
> >> later, you find the answer yourself. This is what happens when you work
> >> on other people's code ;-)
> >>
> >> At any rate, I got the session to work correctly on my local system.
> >> Some of the code written by the previous programmer did some
> >> optimization that just didn't work in my environment. So I'm using the
> >> standard session_start() instead of his custom one while developing,
> >> then will go back for final.
> >
> >Be warned: browsers treat session variables differently.
> >
> >Especially - you guessed - IE. Some of my students had a nasty
> >(non-)portability surprise this term vecause of IE and session
> >variables.
>
> I don't know if it is relevant, but I read on a website called
> phpfreaks that there is something you can do which helps workaround a
> bug in IE related to caching, which may be affecting you.
No, I use Firefox. The issue is with a custom session_start() function
written by the previous programmer. It for some reason, didn't like my
system/domain setup. Changing it to just the regular php function, works
fine for development.
--
.''`. Carl B. Constantine
: :' : duckwing at duckwing.ca
`. `' GnuPG: 135F FC30 7A02 B0EB 61DB 34E3 3AF1 DC6C 9F7A 3FF8
`- Debian GNU/Linux -- The power of freedom
"Claiming that your operating system is the best in the world because
more people use it is like saying McDonalds makes the best food in the
world."
More information about the Discuss
mailing list