Master Posted May 28, 2014 Report Share Posted May 28, 2014 How can I check if the Cookies are enabled on the Authentication page? Quote Link to comment Share on other sites More sharing options...
0 Darina Posted May 28, 2014 Report Share Posted May 28, 2014 If I understand correctly, you want to check if the Cookies are enabled on the Authentication page. You can use JavaScript code. Please follow these steps: 1) Open your Authentication, select Custom in the Setup options field. 2) In the Element section, add a Header&Footer element (the Plus button in the header of the section). 3) To the Footer, add the JavaScript code: <script type='text/javascript'> function are_cookies_enabled() { var cookieEnabled=(navigator.cookieEnabled)? true : false; if (typeof navigator.cookieEnabled=="undefined" && !cookieEnabled) { document.cookie="testcookie"; cookieEnabled=(document.cookie.indexOf("testcookie")!=-1)? true : false; } if (!cookieEnabled) alert('Cookies are disabled!'); } window.onload=are_cookies_enabled; </script> You can enter your text instead of "Cookies are disabled". Quote Link to comment Share on other sites More sharing options...
0 RuisiHansamu Posted September 22, 2022 Report Share Posted September 22, 2022 Hello there, this may be similar to this forum post that is helpful. Quote Link to comment Share on other sites More sharing options...
Question
Master
How can I check if the Cookies are enabled on the Authentication page?
Link to comment
Share on other sites
2 answers to this question
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.
Note: Your post will require moderator approval before it will be visible.