changing frames pages in ASP

T

Thomas Brooks

Hi all...

Quick question for you. I'm trying to change the contents of a frames page
after a user has successfully logged in. I'm running into a little bit of
difficulty. Here's what I have thus far...

I have a simple contents-type frame. The left frame is a login page
(login.asp) and the right frame is a welcome page (welcome.htm). When
someone enters their user name and password, another ASP script I wrote
validates the login information. If it is valid, then the left frame now
displays a menu page (menu.asp). But the right frame still shows the
welcome.htm page....I don't want that.

What I want to do is upon validating the login information and displaying
the new menu in the left frame, I also want the right frame to display a new
page. Is this possible and if so, how?

Thanks

===========================
Thomas J. Brooks, Jr.
Webmaster & Systems Specialist - Button Systems, Inc
www.bsi-vt.com
 
T

TomB

You've got a couple of choices.
1) Your login <form> can set the target to _top and you recreate the whole
frame
2) You write some Javascript that your menu page reloads the welcome page

This isn't really an asp topic since the "problem" is on the client
 
T

Thomas Brooks

Thanks for the quick reply....I knew of the JavaScript way, but I was hoping
to keep everything in native ASP. I guess I'll do that.
 
R

Roland Hall

Thomas Brooks said:
Thanks for the quick reply....I knew of the JavaScript way, but I was hoping
to keep everything in native ASP. I guess I'll do that.

You can. Have ASP write the javascript code. (O;=

--
Roland

This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose.
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top