You're welcome TS,
Glad that you've resolved it ....
Have a good day!
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "TS" <
[email protected]>
| References: <ul4Gtmq#
[email protected]>
<
[email protected]>
<Vx1h63u#
[email protected]>
<#hMa3u2#
[email protected]>
<xBfkco6#
[email protected]>
| Subject: Re: page running twice
| Date: Thu, 8 Dec 2005 16:54:46 -0600
| Lines: 187
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <
[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 101nat080.tea.state.tx.us 198.214.101.80
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:363753
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| OK, I found it!!!!!!
|
| The offending html code was in a TD tag: background="#E9E9F7"
|
| The original author was obviously trying to set BGColor, but used
background
| instead. Removing this attribute fixed the dual post issue.
|
| I had to do as you instructed and just remove parts of the page until i
| found it not post twice, then i would remove half at a time until i got
all
| the way down to that TD tag (like doing a binary tree)
|
| Thanks Steven!
|
| | > Thanks for your response TS,
| >
| > So the problem should be caused by some html code rendered to the
| > clientside which contains an URL(most likely relative url) pointed to
the
| > page itself , then the browser will send another request when parsing
that
| > certain html element (e.g a <img ...> tag as I mentioend before....).
| >
| > One idea for throubleshooting this is save your asp.net page's output in
| > client browser as a static html file and then put it in yoru IIS virtual
| > dir( for that asp.net application) and request it at clientside....
| > Check
| > the IIS log to see whether it will also cause the original aspx page to
be
| > requested. If so, we need to parse the HTML content gradually to find
the
| > html element that cause the request ...
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure!
www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| > --------------------
| > | From: "TS" <
[email protected]>
| > | References: <ul4Gtmq#
[email protected]>
| > <
[email protected]>
| > <Vx1h63u#
[email protected]>
| > | Subject: Re: page running twice
| > | Date: Wed, 7 Dec 2005 14:21:07 -0600
| > | Lines: 114
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| > | X-RFC2646: Format=Flowed; Original
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| > | Message-ID: <#hMa3u2#
[email protected]>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: 101nat080.tea.state.tx.us 198.214.101.80
| > | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:363471
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | the page is getting successfully requested twice - once at top, then
all
| > the
| > | scripts on the page, then one more at the end
| > | I can't figure out what is doint it.What can i do?
| > | 20:14:14 127.0.0.1 GET /Web/Secured/Outcome.aspx 401
| > |
| > | 20:14:14 127.0.0.1 GET /Web/Secured/Outcome.aspx 200
| > |
| > | 20:14:14 127.0.0.1 GET /Web/Styles.css 304
| > |
| > | 20:14:14 127.0.0.1 GET /Web/InfraScripts/ig_edit.js 304
| > |
| > | 20:14:14 127.0.0.1 GET /Web/InfraScripts/ig_csom.js 304
| > |
| > | 20:14:14 127.0.0.1 GET /Web/InfraScripts/ig_webtab.js 304
| > |
| > | 20:14:14 127.0.0.1 GET /Web/InfraScripts/ig_WebGrid_dom.js 304
| > |
| > | 20:14:14 127.0.0.1 GET /Web/InfraScripts/ig_WebGrid_ie.js 304
| > |
| > | 20:14:14 127.0.0.1 GET /Web/InfraScripts/ig_WebGrid_kb.js 304
| > |
| > | 20:14:14 127.0.0.1 GET /Web/InfraScripts/ig_WebGrid_ie6.js 304
| > |
| > | 20:14:14 127.0.0.1 GET /Web/InfraScripts/ig_WebGrid.js 304
| > |
| > | 20:14:14 127.0.0.1 GET /Web/InfraImages/ig_tab_winXP1.gif 304
| > |
| > | 20:14:14 127.0.0.1 GET /Web/Secured/Outcome.aspx 200
| > |
| > |
| > |
| > | | > | > Hi TS,
| > | >
| > | > Welcome.
| > | > As for the page events fired twice each time, there could be
different
| > | > causes on such behaviors. So what's the sequence those events get
| > fired
| > | > (which one of the below):
| > | >
| > | > 1. Are the page's evens fires twice based on per page sequence...
for
| > | > example:
| > | >
| > | > init--->load -> prrender.... again
| > init---->load--->prerender....?
| > | >
| > | > 2. Or each event just get fired twice before the next event , like:
| > | >
| > | > init-->init ---> load ---->load .....?
| > | >
| > | > Also, you can add some Response.Write statements in page's event
| > handlers
| > | > to look how the output is printed out....
| > | >
| > | > For #2, it is likely the event handler is wired twice.....
| > | >
| > | > For #1, it is possible that the page is requested by some other http
| > | > request (e.g an <img> html tag which pointed to the page
self......).
| > And
| > | > we can also check the IIS log to see whether there contains
duplicated
| > | > request entries in IIS log the same time .....
| > | >
| > | > Thanks,
| > | >
| > | > Steven Cheng
| > | > Microsoft Online Support
| > | >
| > | > Get Secure!
www.microsoft.com/security
| > | > (This posting is provided "AS IS", with no warranties, and confers
no
| > | > rights.)
| > | >
| > | >
| > | >
| > | >
| > | >
| > | >
| > | > --------------------
| > | > | From: (e-mail address removed)
| > | > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | > | Subject: Re: page running twice
| > | > | Date: 6 Dec 2005 13:17:06 -0800
| > | > | Organization:
http://groups.google.com
| > | > | Lines: 5
| > | > | Message-ID: <
[email protected]>
| > | > | References: <ul4Gtmq#
[email protected]>
| > | > | NNTP-Posting-Host: 205.189.240.252
| > | > | Mime-Version: 1.0
| > | > | Content-Type: text/plain; charset="iso-8859-1"
| > | > | X-Trace: posting.google.com 1133903830 4638 127.0.0.1 (6 Dec 2005
| > | > 21:17:10 GMT)
| > | > | X-Complaints-To: (e-mail address removed)
| > | > | NNTP-Posting-Date: Tue, 6 Dec 2005 21:17:10 +0000 (UTC)
| > | > | In-Reply-To: <ul4Gtmq#
[email protected]>
| > | > | User-Agent: G2/0.2
| > | > | X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
| > | > rv:1.7.12) Gecko/20050915 Firefox/1.0.7,gzip(gfe),gzip(gfe)
| > | > | Complaints-To: (e-mail address removed)
| > | > | Injection-Info: g14g2000cwa.googlegroups.com;
| > | > posting-host=205.189.240.252;
| > | > | posting-account=9FSEXA0AAAC5Njb912-dDvWvXqt31Gyf
| > | > | Path:
| > | >
| >
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
| > | >
| >
ne.de!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.gigan
| > | >
ews.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail
| > | > | Xref: TK2MSFTNGXA02.phx.gbl
| > | > microsoft.public.dotnet.framework.aspnet:363218
| > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | > |
| > | > | Make sure the autoeventwriteup attribute of the page directive is
| > set
| > | > | to false.
| > | > |
| > | > | Asad
| > | > |
| > | > |
| > | >
| > |
| > |
| > |
| >
|
|
|