Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

how can I prove that the cookie is saved in ie9 (other than seeing the cookie increment with page refresh)

http://hrblock.host22.com/cookie.php
<?php

    if (!isset($_COOKIE['increment_by_1_this_number'])) $_COOKIE['increment_by_1_this_number'] = 0;
    $visits = $_COOKIE['increment_by_1_this_number'] + 1;
    setcookie('increment_by_1_this_number',$visits,time()+300000);

    echo '<pre>';
    print_r($_COOKIE);
    echo '</pre>';

Open in new window


I can see this cookie with chrome and firefox cookie viewer

I am testing with ie9 and can not find that this cookie exists


I think the cookie exists because cookie increments

but when I view
http://www.nirsoft.net/utils/iecookies.html

the cookie is not there

how can I prove that the cookie is saved in ie9 (other than seeing the cookie increment with page refresh)
ASKER CERTIFIED SOLUTION
Avatar of Lukasz Chmielewski
Lukasz Chmielewski
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

found the cookie
thanks