in reply to Re (tilly) 1: Check for JavaScript Enabled
in thread Check for JavaScript Enabled

This works fine if a user follows the path that you intended, but they don't always do that... say they get the redirected URL from a friend. In order to insure that they did you would have to make sure that they only came from the page doing the redirecting.

As stated before I would recommend to code a page that sets a cookie in JavaScript and then redirects them to another page. Anyone that sees the cookie has JavaScript enabled.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
()-()                                                      ()-()
 \"/    DON'T   BLAME   ME,   I  VOTED   FOR    PACO!       \"/
  `                                                          ` 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • Comment on Re: Re (tilly) 1: Check for JavaScript Enabled

Replies are listed 'Best First'.
Re: Re: Re (tilly) 1: Check for JavaScript Enabled
by jepri (Parson) on Mar 04, 2002 at 17:00 UTC
    As mentioned above, give 'em output from a POST form. That way the destination page doesn't show up in the url. More advanced tricks can be done with Apache modules, or with cookies (bad use).

    ____________________
    Jeremy
    I didn't believe in evil until I dated it.