get_currentuserinfo() does not seem to work on my site when I am logged in through internet explorer. In firefox and chrome, when i try to echo my user id after calling the global and function, nothing will show.
'My code is as follows..
global $current_user;
get_currentuserinfo();
$userid = $current_user->id;
echo $userid;
It echo's 1 in firefox and chrome and 0 in internet explorer?'