|
Posted by "Kristen G. Thorson" on 10/09/06 11:32
Jay Blanchard wrote:
>[snip]
>Not sure what you mean. I sent him to this script:
>
><?php
>if( !isset( $_REQUEST['page'] ) ) {
> setcookie('VATtest','Cookie has been set.',time()+50000, "/");
> echo '<a href="'.$_SERVER['PHP_SELF'].'?page=1">Test cookie.</a>';
>} else if( $_REQUEST['page'] == '1' ) {
> if( isset( $_COOKIE['VATtest'] ) ) {
> echo $_COOKIE['VATtest'];
> } else {
> echo 'Cookie NOT set.';
> }
>}
>?>
>
>Which is all I had in entirety. Is this not a "basic cookie?"
>[/snip]
>
>Sorry, I should have paid more attention. Is $_REQUEST['page'] correctly set
>when (print_r the array...just for giggles)
>
>.
>
>
>
I can verify $_REQUEST is correct for me, and I'm sure it's correct for
him too, since he gets "Cookie NOT set." The second if statement
requires $_REQUEST['page'] to be 1 to even get to that line. If
$_REQUEST['page'] is not set, he should get no output at all.
I've been looking through the comments in the manual, and several people
mention privacy policies creating a problem in IE. My problem is none
of this can be duplicated on my machine (or any other so far), and this
customer is in Florida and I'm in Virginia. I've also never seen in
other applications that a privacy policy truly needed to be sent to
allow a cookie to be set, and apparently the web site manager settings
(where you explicitly allow or block cookies from certain domains)
override all privacy settings in IE anyways. So that seems like a dead end.
thanks,
kgt
Navigation:
[Reply to this message]
|