Re: Millions of HTTP 302 Code Entries
- From: "Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin@xxxxxxxxx>
- Date: Wed, 11 Mar 2009 10:51:18 -0700 (PDT)
On Mar 11, 5:09 am, Ziad <Z...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hello,
I am getting millions of 302 status code (redirection) entries in my IIS log
files.
This occurs on custom built login pages: When employees try to log into
applications, enter a user id and password and submit, the page seems to
refresh many times per second, indefinitely, thus the huge logs (100 GB +)
mainly of 302 code entries.
Please note:
- This problem doesn't happen to all users. Actually, it seems to happen
randomly to random users.
- We are using IIS 6
- This occurs in .net applications we developed (see code snipet below)
- We are using a proxy
In our login page, we have the following line of code which we use to
redirect:
Response.Redirect(FormsAuthentication.GetRedirectUrl(txtUserName.Text,
false));
Note that initially users click on, say,http://intranet/myapp/default.aspx
which redirects them to a login screen, which contains the above code to take
them back to the default.aspx page.
Since it works fine most of the time (95%+) am I right to assume it is not a
coding problem?
Can someone please tell me what seems to be the problem?
Humm, is it possible that you are creating a loop? from default you
get redirected to login and then from login you are redirected back to
default
.
- References:
- Millions of HTTP 302 Code Entries
- From: Ziad
- Millions of HTTP 302 Code Entries
- Prev by Date: Re: Going native -- please help a newbie!!
- Next by Date: Re: roguelike games in c sharp
- Previous by thread: Millions of HTTP 302 Code Entries
- Next by thread: How to block an installation of a visual studio's project?
- Index(es):
Relevant Pages
|