By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,706 Members | 2,046 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,706 IT Pros & Developers. It's quick & easy.

changing frames pages in ASP

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
"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 discussion thread is closed

Replies have been disabled for this discussion.