473,322 Members | 1,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

changing frames pages in ASP

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
Jul 19 '05 #1
3 1767
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

"Thomas Brooks" <br*****@bsi-vt.com> wrote in message
news:sZ******************@news1.news.adelphia.net. ..
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

Jul 19 '05 #2
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.
"TomB" <sh*****@hotmailXXX.com> wrote in message
news:eK**************@TK2MSFTNGP12.phx.gbl...
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

"Thomas Brooks" <br*****@bsi-vt.com> wrote in message
news:sZ******************@news1.news.adelphia.net. ..
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


Jul 19 '05 #3
"Thomas Brooks" wrote:
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.
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: F. Da Costa | last post by:
Hi, Does anybody know why IE5+ does *not* honour array objects (like a table) across a session? Example: Frame A contains a var tableVar which is set via form Frame B (on init) using...
9
by: Billy | last post by:
Hi, I was wondering if it is possible to change the browsers text settings. ie. in internet explorer you can change the text size by going to: View -> Text Size Is there a way to overide a...
24
by: Charles Crume | last post by:
Hello; My "index.htm" page has 3 frames (content, navigation bar, and logo). I set the "SRC" of the "logo" frame to a blank gif image and then want to change it's contents after the other two...
18
by: Jonathan Carmichael | last post by:
I am building a website for the first time. In attempting to validate my frameset html file I came across the following URL http://www.w3.org/TR/1999/REC-html401-19991224/ The 3 errors I am...
4
by: Tammy | last post by:
At the website http://www.htmlhelp.com/faq/html/frames.html#frame-update2 I found the following: The JavaScript-based solution uses the onClick attribute of the link to perform the secondary...
6
by: Nancy Carter | last post by:
I'm trying to set the background color of a frameset to black. The following code doesn't work in either IE 6.0 or Firefox. Any ideas why? <frameset bgcolor="#000000" frameborder="0" border="0"...
3
by: qwerty | last post by:
I´m new to ASP.Net. My workmate has some experience with it. He claimed that in ASP.Net working with frames is much simpler than it was ASP. I asked explanation but he couldn't give me such. (a...
9
by: Jim | last post by:
What would be cool as hell, would be a designer interface like Dreamweaver - with drag and drop elements like frames and such. Why isn't ASP.Net as easy to use as Dreamweaver. Certainly...
2
by: Fokke Nauta | last post by:
Hi all, I am searching for a script that can change 2 pages in a frame when clicking on 1 link. Example: I have a frameset with 3 pages (content, banner and main). In the content I want to...
8
by: rn5a | last post by:
I have a HTML page named Index.html which is divided into 3 frames. The URL of 2 of the frames are HTML pages but the 3rd frame houses a ASP page. Now when I go to Windows Explorer, navigate to...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.