Frame & redirect\transfer

  • Thread starter Thread starter Alex
  • Start date Start date
A

Alex

I have 2 frameset pages, Secure.aspx and unsecure.aspx.

When the user connects to the site, they are not
authenticated yet, and therefore are redirected to
Unsecure.aspx. Once the are authenticated, they need to be
redirected to Secure.aspx.

The only problem is that Secure.aspx is loaded into one of
the Unsecure.aspx frameset. What I need is to loas
Secure.aspx over Unsecure.aspx, not within.

Nowhere in my code am I setting the target frame.

Thanks
Alex
 
Server code is not aware of frames, therefore you must do it with client
side code.
You could do it with some javascript such as this:
parent.location.href = 'Secure.aspx'
 
Thanks. The only problem is that I have page security in place. My logon
page is the non-secured one, and the secured page is the default page. When
the user connects to the secured page, they are not authenticated yet, so
they are re-directed to the non-secured page.

When I place the code, the server goes into aloop between the two pages...

Alex
 
Back
Top