Firefox and Page Events
- From: Joey <joey.powell@xxxxxxxxxxxx>
- Date: Mon, 04 Jun 2007 06:49:45 -0700
asp.net 2/C#/VS2005
In my app I have code to increment a counter and write an event each
time a page is viewed. I placed the code within the Page_Load() event
handler, inside of an if(!this.Page.IsPostBack) code block. I am using
master pages with this app.
When viewing the page with IE, all works as expected. The counter gets
incremented, and the event gets written. But when I view the page in
Firefox, the code gets executed five, six or seven times. This happens
on every page. As a result, my counters are wrong, and my event log is
a mess! Does anyone know why this is occurring?
.
- Follow-Ups:
- Re: Firefox and Page Events
- From: Alexey Smirnov
- Re: Firefox and Page Events
- Prev by Date: Re: How to prevent Outlook security warnings
- Next by Date: Re: INSERT or UPDATE
- Previous by thread: Re: Catching 404 errors at Application Level
- Next by thread: Re: Firefox and Page Events
- Index(es):
Relevant Pages
|