View previous topic :: View next topic |
Author |
Message |
Sterson51 -
Joined: 19 Nov 2009 Posts: 1
|
Posted: Fri Nov 20, 2009 8:36 am Post subject: Why does asp.net process forms to its own page? |
|
|
In asp.net you cannot set the action= to a different page. It always processes the form in the same page as the form itself. Why is this? It seems that this limits its functionality. |
|
Back to top |
|
|
Toasty -
Joined: 21 Feb 2008 Posts: 298 Location: Chicago, IL
|
Posted: Wed Nov 25, 2009 5:51 pm Post subject: |
|
|
I'm not familiar with ASP, but I'll take a stab at it.
Do your URLs look like this:
action=?blah=blah
- OR -
action=SCRIPT_URL + ?blah=blah
--
If so, it is calling itself.
If that's the case, change it to a full path to the new script, as below:
action=http://www.site.com/script.asp?blah=blah
That should work. _________________ Audit the secure configuration of your server headers! |
|
Back to top |
|
|
zinksmith1 -
Joined: 17 Jul 2010 Posts: 9
|
Posted: Tue Jul 20, 2010 8:45 am Post subject: Re: Why does asp.net process forms to its own page? |
|
|
When the ASP.NET runtime processes a request for an ASP.NET resource, such as an ASP.NET page or ASP.NET Web service, the request raises a number of events during its lifecycle. There are events raised at the very beginning and very end of the request, ones raised when the request is being authenticated and authorized, an event raised in the case of an unhandled exception, and so forth. _________________ Current Headlines PCB Design Online UPS |
|
Back to top |
|
|
|