Page_Load being fired twice
From: Nimrod cohen (nim_co_at_hotmail.com)
Date: 05/27/04
- Next message: hch_nguyen: "session expiring unexpectedly"
- Previous message: Darren Clark: "Re: Use DreamWeaver AND VS.NET?"
- In reply to: Nimrod Cohen: "Page_Load being fired twice"
- Next in thread: Steven Cheng[MSFT]: "RE: Page_Load being fired twice"
- Reply: Steven Cheng[MSFT]: "RE: Page_Load being fired twice"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 27 May 2004 16:34:09 -0700
Some points worth mentioning :
1. the project itself is a webservice containing some
webpages, amogst which, the aforementioned problematic
page.
2. this occurs when i'm initiating the process from an
html which is embedded inside an e-mail item, from an
outlook client. I have no way to test it from an http
based client, since the server is internal, so i can't
pass the link.
thanks.
>-----Original Message-----
>Hi,
>
>During the page_load of my Aspx
page "http://myMachine/MyWebApp/Quote.aspx" , i write to
the response an html that embeds a form with the action
pointing out to the same aspx page
>i.e
>Response.Write( "<html><head></head><body><form
action="http://myMachine/MyWebApp/Quote.aspx"
name="QuoteForm" method="POST"><input type="hidden"
name="response_supplier_id" value="13"/>
>....
></form></body></html>" );
>
>what happens is that my page_load function is being
fired twice, once with all the parameters in the
Request.Form arriving as expected ( the first occurance
is a POST call ), the second time i get an unwanted "GET"
call with no parameters in the Request.Form.
>
>I've checked and verified that the
AutoEventWireup=false, and no event handler duplication
has been introduced
>
>could anyone point out of this mess ?
>
>
>
>.
>
- Next message: hch_nguyen: "session expiring unexpectedly"
- Previous message: Darren Clark: "Re: Use DreamWeaver AND VS.NET?"
- In reply to: Nimrod Cohen: "Page_Load being fired twice"
- Next in thread: Steven Cheng[MSFT]: "RE: Page_Load being fired twice"
- Reply: Steven Cheng[MSFT]: "RE: Page_Load being fired twice"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|