faqts : Computers : Programming : Languages : PHP : Common Problems : Cookies

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

36 of 92 people (39%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

How can I check if a browser is accepting cookies?

Jan 23rd, 2000 00:59
Nathan Wallace, Richard Lynch, Manuel Lemos


Give them a cookie on page 1.  Set the cookie a redirect to a
verification page to see if the browser is sending the cookie back.

Check isset($cookie) on page 2.