Jump to content

Archived

This topic is now archived and is closed to further replies.

peffo

Cookies enabled?

Recommended Posts

Hi everybody.

Been trying to find some code that verifies UA cookies enabled.

true - continue script
false - "You need cookies enabled" - end script.

Anyone?

P

Share this post


Link to post
Share on other sites
Send the user a cookie, redirect him to another page (header(Location: ...)) and check if that cookie exists.

Orio.

Share this post


Link to post
Share on other sites
set a cookie value on page one, if it is present on page two - cookies are enabled.

Share this post


Link to post
Share on other sites
Nothing to do with PHP.  No server side language can determine that
without attempting to setting a cookie then having the client do another
request.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.