00:00
00:00
Newgrounds Background Image Theme

BrunoVugl just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Javascript redirection help

709 Views | 3 Replies
New Topic Respond to this Topic

Javascript redirection help 2006-11-25 12:37:25


Hello! I now how to redirect a user on a webpage - thats easy. But what I want to do - and have heard about doing before is:

Redirecting the viewer when they type in the url of a password protected page - so that you can only access it if you got there from the flash login form.

Anyone?

Response to Javascript redirection help 2006-11-25 12:42:51


Does your host support PHP or ASP? Using a server language means you can use sessions and referrer which will make it more secure.

You might be able to find something here to help you out if Javascipt is your only option.


BBS Signature

Response to Javascript redirection help 2006-11-25 13:03:54


Can't people just add the address of the pagethey got directed to to bookmarks or something? then what the point of a pass be?

Response to Javascript redirection help 2006-11-25 13:39:55


At 11/25/06 01:03 PM, Myke3D wrote: Can't people just add the address of the pagethey got directed to to bookmarks or something? then what the point of a pass be?

With php you can prevent that. You can force them to type the password even if they type the link.