Frame & redirect\transfer

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
 
S

Steve C. Orr, MCSD

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'
 
M

Microsoft

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top