booboo0912
Programmer
hello! i have a conglomerate of things going on, and i hope this is the right forum! here's the situation...
a user clicks on a link to access the logon screen. the logon screen is a showModalDialog window, with two text boxes and a submit button (inside form tag, action="admin.asp"
. on the admin.asp page, i would like to check the password, and if the password is wrong, somehow send them back to the original logon screen. is the password is correct, close the modal windown and send the user to the admin.asp page.
the way i usually check the password is by doing the following:
<%
var pwd = Request.Form("password"
;
if(pwd != 'the password') {
Response.Redirect('logon.asp');
}
%>
i know it's not the most ideal/secure way of password protection, but this is small beans stuff. so my problem is trying to get back to the logon.asp page, in the modal state.
any ideas??? i always learn a lot from this forum, so if there's any other suggestions, i thank you in advance!!
a user clicks on a link to access the logon screen. the logon screen is a showModalDialog window, with two text boxes and a submit button (inside form tag, action="admin.asp"
the way i usually check the password is by doing the following:
<%
var pwd = Request.Form("password"
if(pwd != 'the password') {
Response.Redirect('logon.asp');
}
%>
i know it's not the most ideal/secure way of password protection, but this is small beans stuff. so my problem is trying to get back to the logon.asp page, in the modal state.
any ideas??? i always learn a lot from this forum, so if there's any other suggestions, i thank you in advance!!