iframe trouble

Discussion in 'ASP General' started by Giles, May 2, 2007.

  1. Giles

    Giles Guest

    I have a sign-in box that is an IFrame, with a form target of "_top", and
    the current (parent) page URL as a hidden field.
    If sign-in in successful, there is a response.redirect to the page URL,
    having set the session variable LoggedInOK=true.

    However, if the sign in is not OK, I want the IFrame to be the target, (i.e.
    _self, not _top) to display the error.
    Is there a way for ASP to control whether it redirects to _top or _self, as
    setting the form target in the Login page requires "pre-knowledge" of
    whether it will be successful.

    Hope this is clear! Thanks in advance, Giles.
    Giles, May 2, 2007
    #1
    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. Replies:
    0
    Views:
    676
  2. mi
    Replies:
    4
    Views:
    13,521
    dorayme
    May 21, 2008
  3. elca
    Replies:
    0
    Views:
    569
  4. Scott
    Replies:
    6
    Views:
    929
    [MSFT]
    Apr 14, 2004
  5. Daedalous
    Replies:
    3
    Views:
    677
    Daedalous
    Jan 16, 2004
Loading...

Share This Page