changing frames pages in ASP

Discussion in 'ASP General' started by Thomas Brooks, Dec 18, 2003.

  1. 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
    Thomas Brooks, Dec 18, 2003
    #1
    1. Advertising

  2. Thomas Brooks

    TomB Guest

    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" <> wrote in message
    news:sZmEb.450$...
    > 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
    >
    >
    TomB, Dec 18, 2003
    #2
    1. Advertising

  3. 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" <> wrote in message
    news:...
    > 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" <> wrote in message
    > news:sZmEb.450$...
    > > 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
    > >
    > >

    >
    >
    Thomas Brooks, Dec 18, 2003
    #3
  4. Thomas Brooks

    Roland Hall Guest

    "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.
    Roland Hall, Dec 19, 2003
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Manish
    Replies:
    1
    Views:
    634
    Steve C. Orr [MVP, MCSD]
    Nov 17, 2003
  2. Powerslave2112

    From Frames to no frames?

    Powerslave2112, Jan 20, 2004, in forum: HTML
    Replies:
    2
    Views:
    567
    brucie
    Jan 20, 2004
  3. Philip
    Replies:
    3
    Views:
    946
    Karl Groves
    Jun 28, 2004
  4. Ale

    Frames or not Frames...

    Ale, Aug 3, 2005, in forum: HTML
    Replies:
    17
    Views:
    938
    Adrienne
    Aug 5, 2005
  5. JP
    Replies:
    1
    Views:
    455
    Martin Honnen
    Jul 7, 2003
Loading...

Share This Page