Re: Cookie problem with IE

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

 



Jay Blanchard wrote:

[snip]
Anyone have any suggestions?  I'm still stuck.
[/snip]

Can you send him another test where a basic cookie gets set and then
checked?

.



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?"


thanks,

kgt

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux