Re: Re: Cookie Problems on Localhost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



is your browser blocking the cookie?

"Joseph L. Mueller" <unclejoe@xxxxxxxxxxx> wrote in message
news:20050224141828.88529.qmail@xxxxxxxxxxxxxxxx
> Luis Moreira wrote:
>
> > You can always try to set a cookie, but wether the browser allows it
> > or not, it's a whole different ball game.
> > I believe your problem lies here.
> >
> > Anyway, the two scripts I attach, I have just tried, and the cookie
> > was set by the first, WITH A MESSAGE FROM THE BROWSER ASKING IF I
> > ALLOWED IT.
> > The second script read the cookie, no problem.
> >
> >
> > Hope this helps.
> >
> > Luis
> >
> > Mikey wrote:
> >
> >>> That still leaves the problem of how to test cookies and sessions on
> >>> a local system.
> >>>
> >>
> >>
> >> Don't know if this will work, but have you tried setting an entry in
> >> your
> >> hosts file (C:\WINDOWS or C:\WINNT\system32\drivers\etc) for your
> >> machine
> >> name that points to 127.0.0.1?
> >>
> >> Eg:
> >> 127.0.0.1    mymachine
> >>
> >> HTH,
> >>
> >> Mikey
> >>
> >>
> >>
> Luis,
> Thanks for sending the script to my e-mail account. I tried them but no
> cookie was set. All I got rom the r_print was "Array {}".
>
> -- 
> Joseph L. Mueller

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux