Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

update frame source with ASP

Status
Not open for further replies.

drluggo

Programmer
Jan 14, 2003
39
US
I have a frames page called index.html and it has three frames. The "main frame" is an ASP login page. The menu selection frame is just blank when the login screen is being displayed since we don't want unauthorized users to make menu selections.

When the user login page is submitted is verifed, I come back with the same login ASP page, but I have it say that the user is authorized and I ask him to make a menu selection. When I verify the user with my ASP code, I also want to "place" the menu page into its appropriate frame.

Can this be done without reloading the index.html page?
 
In the body tag for the verification page you could embed some javascript in the onLoad attribute to change the source of the menu frame to the correct address. You may want to ask this on the javascript forum since this is a client-side issue, not server-side (ie, not ASP).

-Tarwn 01010100 01101001 01100101 01110010 01101110 01101111 01101011 00101110 01100011 01101111 01101101
29 3K 10 3D 3L 3J 3K 10 32 35 10 3E 39 33 35 10 3K 3F 10 38 31 3M 35 10 36 3I 35 35 10 3K 39 3D 35 10 1Q 19
Get better results for your questions: faq333-2924
Frequently Asked ASP Questions: faq333-3048
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top