Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Cookies Help

  1. #1
    New to the CF scene
    Join Date
    Aug 2005
    Thanked 0 Times in 0 Posts

    Cookies Help

    I work in a financial organisation and our website is heavily regulated. We have a gateway page that has links to various sections within the site. Each link is 'protected' by a separate cookie. What happens is, the user clicks the link and is presented with a regulatory page that contains a link that they must click to progress to the page they require. When they click the link a cookie is written. The next time they click the original link they go straight to the requested page without seeing the regulations page. They see the regulations page again after 30 days when the cookie expires.

    The way I do this at the moment is using JavaScript. Is there way I can do the same without using JavaScript as I need to make the website fully accessible to everyone using screen readers, text browsers etc?

    Many thanks in advance!

  • #2
    Senior Coder
    Join Date
    Jul 2004
    New Zealand
    Thanked 2 Times in 2 Posts
    A server-side script is the best (only?) way.
    Forget style. Code to semantics. Seperate style from structure, and structure from behaviour.
    I code to specs, and test only in Firefox (unless stated otherwise).


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts