If I understand you correctly, you are trying to change the way or location of how the posts. In classic ASP, you could do this by using the form's target property, as you listed above. In ASP.NET however, the form always posts back to itself, regardless of the targer property. So you have two options.
Option 1 is to make the login page an *.asp page, and not an aspx page (or, remove the runat="server" tag from your form so it submits client side and not server side)
Option 2 is to use response.redirect or server.redirect to get the page to go where you need it to.
Main Topics
Browse All Topics





by: Justin_WPosted on 2004-12-17 at 16:07:56ID: 12855072
The easiest solution would be to emit/include some javascript that will change the form's action attribute on the client side.