Forum Moderators: open

Message Too Old, No Replies

Response.Redirect in a Framset

         

tfanelli

7:36 pm on Jun 28, 2004 (gmt 0)

10+ Year Member



I have a web page written in standard HTML with a frameset on it.

The center frame calls a .NET ASPX page that is the logon for our web application.

That ASPX page uses as Response.Redirect to change to a different page when the user succesfully logs in.

The Response.Redirect doesn't work (no errors generated). If I hit the ASPX page directly without going through the frameset all is well.

Are there any issues anyone knows of with Response.Redirect not working when running in a Frameset?

Thanks in advance.

korkus2000

7:43 pm on Jun 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What happens when you submit the form. Nothing or a 404 or what?

tfanelli

7:50 pm on Jun 28, 2004 (gmt 0)

10+ Year Member



Nothing. The original login page just reloads

korkus2000

5:04 pm on Jun 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is the rest of the code executing, or is it just reloading without accessing the forms method?

tfanelli

6:07 pm on Jun 29, 2004 (gmt 0)

10+ Year Member



All code in the same Subroutine are executing correctly. The line of code directly before the Response.Redirect calls a function to log into the database and that call is definately happening.

It's like the Response.Redirect is calling the same page over again instead of the new one.

korkus2000

6:26 pm on Jun 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try using server.transfer and see what happens.

tfanelli

8:08 pm on Jun 29, 2004 (gmt 0)

10+ Year Member



Thanks working better - a little anyway...

Is there a reason anyone can think of that I would be losing my Session variables using this method?