Re: half rendered page on first load :-( after refreshing everything is fine

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Daniel Walzenbach (daniel.walzenbach.NOSPAM_at_freudenberg.de)
Date: 02/06/04


Date: Fri, 6 Feb 2004 01:26:05 -0800

Steven,

The problem occurs before the user logs in. I have a default.aspx which redirects (using Response.Redirect("/ATV2004/Account/Login.aspx") in code behind) to /ATV2004/Account/login.aspx where the user authentication takes place. After the user was authenticated correctly he finally gets redirected where I want him to be.
The half rendered page I posted
-------
form name="Form1" method="post" action="Login.aspx?ReturnUrl=%2fatv2004%2fDefault.aspx" id="Form1">
-------
is the default.aspx page meaning the first page which gets opened by IIS. Later on I had the idea that I could skip redirecting the user to /ATV2004/Account/login.aspx since they should be automatically redirected to this page because of the settings in the web.config. This approach worked perfectly well on my development computer but failed on my productive IIS. Do I have to redirect my user manually or are my settings in the web.config sufficient?