Redirection and frames

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Arun K varma

    Redirection and frames

    Hi,

    My website contains a login page and as soon as the user succesfully
    logs in, he will be directed to the homepage that contains two frames
    (with cols=20%,*). The left frame contains the list of products, which
    are URLs with target as the right frame. Each page that loads in the
    right frame is a PHP page does session validation. If the session is
    timed out or the user types the URL of the page directly in the
    address bar (without logging in), he'll be redirected to login page
    with appropriate error message.

    Problem is, when the session times out and the user clicks on any of
    the links in the left frame, the login page loads into the *right
    frame*, which is not what I want. What I really want is, a way to load
    the login page as the "top level page" without any frames.

    Thanks in advance for the help.
  • Daniel Tryba

    #2
    Re: Redirection and frames

    Arun K varma <arun.kumar.var ma@gmail.com> wrote:
    [frames][color=blue]
    > Problem is, when the session times out and the user clicks on any of
    > the links in the left frame, the login page loads into the *right
    > frame*, which is not what I want. What I really want is, a way to load
    > the login page as the "top level page" without any frames.[/color]

    A clientside problem, so use a clientside solution like clientside
    scripting: http://tech.irt.org/articles/js126/index.htm

    Comment

    • arun.kumar.varma@gmail.com

      #3
      Re: Redirection and frames


      Daniel Tryba wrote:[color=blue]
      > A clientside problem, so use a clientside solution like clientside
      > scripting: http://tech.irt.org/articles/js126/index.htm[/color]

      Tank you very much. It really saved my day

      Comment

      • arun.kumar.varma@gmail.com

        #4
        Re: Redirection and frames


        Daniel Tryba wrote:[color=blue]
        > A clientside problem, so use a clientside solution like clientside
        > scripting: http://tech.irt.org/articles/js126/index.htm[/color]

        Thank you very much. It really saved my day

        Comment

        Working...