Forum Moderators: open

Message Too Old, No Replies

Authenticating and redirecting members

         

GamerShock

6:20 pm on Jul 11, 2003 (gmt 0)

10+ Year Member



Okay here is the problem, I am making a site for members only and i'm using an iframe to check to see if there a member or not. I have it all going good but i'm a little worried about the redirection script i'm using. If there not a member the iframe will read
top.location.href="http://boards.somethingsomethingdomain.com/register.php";
</script>

But what i'm worried about is the people who have java turned off they will be able to view that page without being a member, does anyone have a good solution i can do so non-java users will be redirected also?

Thanks,

[edited by: rcjordan at 6:21 pm (utc) on July 11, 2003]
[edit reason] sorry, no references to specific sites. [/edit]

txbakers

7:46 pm on Jul 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



first off, JAVA is not the same as JAVASCRIPT. Two entirely different languages.

Second, javascript based authentication is risky as you've discovered. For true member authentication you need a server side solution such as CGI, PhP or ASP/JSP.

That gets complicated. There are good tutorials for all of the above available.