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

Re: Help With HTML & ASP by Ray

Ray
Wed Nov 19 16:36:29 CST 2003

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

"JJY" <_jjy_@yahoo.com> wrote in message
news:Oit0byurDHA.1740@TK2MSFTNGP12.phx.gbl...
> 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
>
>