RE: [phplib] Cookie Not Being Set From: Brian Popp (bpopp <email protected>)
Date: 06/12/01

I haven't had a chance to verify this on an offending machine, but all
indicators are saying that this was the problem. I was presenting a login
screen and then based on the type of login , I was doing a header: location
to redirect to the appropriate page.

Per Shane's recommendation I changed it and now I'm getting a cookie file. I
guess I will have to do a meta tag redirect or something hokey like that.

All together now: "IIS sucks!" Thanks again for all the help and to all that
keep this list interesting!

-----Original Message-----
From: Shane Caraveo [mailto:shane <email protected>]
Sent: Tuesday, June 12, 2001 4:03 PM
To: Brian Popp; Phplib (E-mail)
Subject: Re: [phplib] Cookie Not Being Set

IIS doesn't like setting cookies and redirecting at the same time, I see a
lot of php apps do that. If yours does, you'll need to change the logic.

----- Original Message -----
From: "Brian Popp" <bpopp <email protected>>
To: "Phplib (E-mail)" <phplib <email protected>>
Sent: Tuesday, June 12, 2001 12:07 PM
Subject: [phplib] Cookie Not Being Set

> I doubt anyone can help me with this because there are so many variables
but
> I'm frustrated and it's worth a shot. First of all, I am running IIS using
> the ISAPI external with PHP 4.03pl1 (had no choice of servers) I've been
> using PHPLib successfully for over a year now on several systems and it
has
> worked perfect.
>
> I recently migrated an older system to PHPLib and everything seemed to go
> smooth. Unfortunately, after a couple of days I started getting strange
> calls from the field saying they couldn't login. I assumed it was either a
> password problem or maybe they had cookies turned off (I didn't implement
> 'get' mode since it would require rewriting the system).
>
> I was wrong. Everyone who is having trouble getting logged in has cookies
> turned on, but for whatever reason, their session cookie does not seem to
> get set. When I enable get mode for a couple of the pages, it works fine.
> There are only about 4 people out of 30 that are having this problem and I
> have not been able to recreate it on any of my computers interally or
> externally. This problem seems to only affect people on the internet vs
> intranet (and conveniently enough, people that live thousands of miles
> away). I have had them delete all existing cookies, turn cookies off then
> back on again, access a test page containing a cookie (it does get set
> properly). Nothing has worked.
>
> Can anyone think of any reason why this would happen?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>