Click to See Complete Forum and Search --> : Frames and a password box


darkfilz303
11-12-2005, 01:14 AM
Ok...the problem to this may be simple...but I can't seem to figure it out so well...I want it so that when a user types the correct password the user is redirected to a secret page...the only thing is the secret page is on another frame...so can I make it so that the user types the correct password then the other frame changes and not frame with the password entry box?

Heres the code

<%
If Request.Form("pswd") = "the password" then
Response.Redirect "secret_page.asp"

End If%>

darkfilz303
11-12-2005, 07:12 AM
I've done the research and found out that active server pages (asp) know nothing of frames... they are intended to work in one frame and therefore you cannot target frames using Response.Redirect :eek: but I also found out...there may be a loopoll using javascript...wish me luck to figureing it out

Giskard
11-12-2005, 09:55 AM
Couldn't you create another frames page that has all of the original frames with the secret frame added. The user will see a refresh of the entire page instead of just the secret frame, but the functionality should work.