Help With HTML & ASP

J

JJY

Hi.

I have an index.asp which consists of frameset and frames. The sub-frames
also consists of frameset and frames. This way, I can set the layout of my
webpages.

In one of the frames, I load Login.asp. When it is submitted to
doLogin.asp,
I validate the login information. When I validate the password
successfully, I want the whole webpage (the index.asp and down) to reload
because it has to re-draw the menus on top. When the login is failed, it
redirects to
Login.asp.

I am having a hard time doing this from my ASP page right after I validate
the login information.

Can anyone offer some tips?

Thanks.
J
 
R

Ray at

You'll need client-side code (like javascript) to do this. As far as the
ASP side of things goes, it'd stop at:

<% If UserLoggedInCorrectly Then %>
<script>
client side script to do your reload
</script>
<% Else %>
Login failed
<% End If %>

As far as reloading the frames, try a group like .scripting.jscript.

Ray at work
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,814
Members
47,358
Latest member
AlexSon

Latest Threads

Top