detecting if cookies are enabled

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jaymoore_299
Forum Contributor
Posts: 128
Joined: Wed May 11, 2005 6:40 pm
Contact:

detecting if cookies are enabled

Post by jaymoore_299 »

is there a way to detect if cookies are enabled for a surfer and if not, use sessions?
Bennettman
Forum Contributor
Posts: 130
Joined: Sat Jun 15, 2002 3:58 pm

Post by Bennettman »

You can set a cookie in a page, then on the next refresh check the value of the cookie.
Post Reply