Hi,
I have a problem where when I call an ASP.Net page, the page load event fires twice. It doesn't do this when I step through each line of code, but if I do not step through each line of code, or press F5 to continue running during the page load event it fires a asecond time. This happens during a get request and not a postback. The secnd time the page load event fires the page seems to have lost any reference to the session that it was connected with the first time it fires. Very odd behaviour. I have the autoeventwireup property set to false, and none of the controls on the page are set to autopostback.
Can anyone shed any light on this and how I may solve it as it is causing real problems.
Thanks,
James
James Culshaw
james@miniaturereview.co.uk
I have a problem where when I call an ASP.Net page, the page load event fires twice. It doesn't do this when I step through each line of code, but if I do not step through each line of code, or press F5 to continue running during the page load event it fires a asecond time. This happens during a get request and not a postback. The secnd time the page load event fires the page seems to have lost any reference to the session that it was connected with the first time it fires. Very odd behaviour. I have the autoeventwireup property set to false, and none of the controls on the page are set to autopostback.
Can anyone shed any light on this and how I may solve it as it is causing real problems.
Thanks,
James
James Culshaw
james@miniaturereview.co.uk