Logging back in when in a frames site

Discussion in 'ASP .Net' started by David Hearn, Sep 2, 2004.

  1. David Hearn

    David Hearn Guest

    I have a site that I have built. It uses a default.aspx page for the home
    page and then to login, it will redirect to login.aspx. After the user has
    successfully logged in, it redirects them to a page that uses frames (not my
    choice). The frames page uses three frames(pages), one at the top for
    navigation, one on the left for navigation, and then a main frame where all
    other content is displayed.

    My problem is that if the session times out, and the user clicks on the left
    frame, which is very narrow, or the top frame, which is not very high, the
    login page gets redisplayed in one of those frames which causes a problem
    because the cannot see all of it.

    Is there a way to force the login page to be displayed in the main frame
    when the session times out no matter which frame they have clicked in and
    then when they have successfully re-logged in, make sure whatever they were
    trying to do happens?

    Thanks in advance!
    David Hearn, Sep 2, 2004
    #1
    1. Advertising

  2. David Hearn

    bruce barker Guest

    the easiest solution is to not use security on the nav pages. otherwise, in
    the login page, render a page that generates a form and client sricpt that
    automatically postback to target to _top (replace the frameset with the
    login).

    -- bruce (sqlwork.com)



    "David Hearn" <> wrote in message
    news:%...
    > I have a site that I have built. It uses a default.aspx page for the home
    > page and then to login, it will redirect to login.aspx. After the user has
    > successfully logged in, it redirects them to a page that uses frames (not

    my
    > choice). The frames page uses three frames(pages), one at the top for
    > navigation, one on the left for navigation, and then a main frame where

    all
    > other content is displayed.
    >
    > My problem is that if the session times out, and the user clicks on the

    left
    > frame, which is very narrow, or the top frame, which is not very high, the
    > login page gets redisplayed in one of those frames which causes a problem
    > because the cannot see all of it.
    >
    > Is there a way to force the login page to be displayed in the main frame
    > when the session times out no matter which frame they have clicked in and
    > then when they have successfully re-logged in, make sure whatever they

    were
    > trying to do happens?
    >
    > Thanks in advance!
    >
    >
    bruce barker, Sep 2, 2004
    #2
    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. nvv via DotNetMonster.com

    avoid a page going back to site after logging out

    nvv via DotNetMonster.com, Jan 27, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    600
    Maheeja Swarna via DotNetMonster.com
    Jan 27, 2005
  2. Stefan Siegl
    Replies:
    0
    Views:
    955
    Stefan Siegl
    Aug 27, 2003
  3. janne
    Replies:
    0
    Views:
    9,481
    janne
    Sep 10, 2004
  4. Christoph Haas
    Replies:
    0
    Views:
    445
    Christoph Haas
    Jun 12, 2006
  5. Christoph Haas
    Replies:
    1
    Views:
    450
    Vinay Sajip
    Jun 14, 2006
Loading...

Share This Page