473,657 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1780
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******** **********@news 1.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*****@hotmai lXXX.com> wrote in message
news:eK******** ******@TK2MSFTN GP12.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******** **********@news 1.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
1917
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 top.A.tableVar = document.getElementById("someTable"); As long as Frame B is *not* 'refreshed/ reloaded' witk another page the
9
2360
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 browsers settings so that no matter who loads my page it will be the same regardless of their settings? Thanks, Billy
24
3500
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 frames have been loaded by using a javascript statement from the "navigation" frame, as shown below: top.window.ccs_logo.src = 'images/ccs_logo.gif'; alert(top.window.ccs_logo.src);
18
2139
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 getting are all regarding the following: <frameset rows="100,*" frameborder="0" border="0" framespacing="0"> The errors are:
4
1851
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 update. For example: <a href="URL1" target="Frame1" onClick="top.Frame2.location='URL2';">Update frames</a>
6
56628
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" cols="240,*"> <frame name="links" scrolling="no" noresize target="contents" src=""> <frameset bgcolor="#000000" frameborder="0" border="0" rows="135,*"> <frame name="topbanner" scrolling="no" src="">
3
2461
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 button inside a-tag with attribute target isn't anything new relating ASP.Net, its same old HTML). He claimed that you could change another page´s controls´s property´s value from another frame by using this method: ' Page "Bottom"
9
1265
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 Microsoft has looked at them (if nothing more than as competition for FrontPage). What would be the reason for NOT making an easy-to-use ui designer that actually made good looking web pages instead of what we have come to expect from Microsoft's web...
2
1407
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 click on a link, causing 2 pages to appear in the frame: a new banner and a new main. Who can help me out?
8
3343
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 the folder in which the all the 4 files (3 HTML + 1 ASP) reside & select Index.html (by clicking with the mouse or by using the arrow keys on the keyboard), strangely the Windows "File Download" dialog box (with 'Open', 'Save', 'Cancel', 'More...
0
8413
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8324
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8842
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7352
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.