peffo Posted August 29, 2006 Share Posted August 29, 2006 Hi everybody.Been trying to find some code that verifies UA cookies enabled.true - continue scriptfalse - "You need cookies enabled" - end script.Anyone?P Quote Link to comment Share on other sites More sharing options...
Orio Posted August 29, 2006 Share Posted August 29, 2006 Send the user a cookie, redirect him to another page (header(Location: ...)) and check if that cookie exists.Orio. Quote Link to comment Share on other sites More sharing options...
Jenk Posted August 29, 2006 Share Posted August 29, 2006 set a cookie value on page one, if it is present on page two - cookies are enabled. Quote Link to comment Share on other sites More sharing options...
paul2463 Posted August 29, 2006 Share Posted August 29, 2006 Nothing to do with PHP. No server side language can determine thatwithout attempting to setting a cookie then having the client do anotherrequest. Quote Link to comment Share on other sites More sharing options...
peffo Posted August 29, 2006 Author Share Posted August 29, 2006 Ok, thanks.Same thing for session (PHPSESSID) i suppose?P Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.