Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting cookies

Status
Not open for further replies.

craesh

Technical User
Apr 17, 2002
1
DE
Hi!

It's only a litle question: is there a posibility to know if a cookie has been accepted by the browser without having to wait till the page is reloaded?

if i do

$cookie = setcookie(...);
echo $cookie;

I allways get 1, but i dont know if the browser has stored the cookie or has rejected it. But I need to know this in the same script.

Thanks!
craesh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top