Groups > Asp .Net > Getting started with ASP.NET > Re: Response.Redirects stop working on Local IIS




Response.Redirects stop working on Local IIS

Response.Redirects stop working on Local IIS
Tue, 11 Mar 2008 16:57:44 +000
Ok.  This behavior I'm seeing is very odd and is driving me crazy.  I am running
.NET 2.0/.NET 3.0 SP1 along with ASP.NET AJAX.  If I publish my application to
my local IIS and I run the app for awhile eventually all Response.Redirects
fail.  The browser will just hang forever.

Here is what I know:

Response.Redirects only fail when a user is logged in.  If you navigate the site
not logged in the redirects work fine.
This only happens when the app is deployed to the local IIS
NOT SURE ABOUT THIS ONE: The app seems to work until I debug the application
within the Visual Studio Web Server.  After I've done this the same application
deployed to the local IIS exhibits the behavior described
Changing the Forms authentication cookie name and restarting IIS seems to fix
the problem temporarily.  Restarting IIS alone does nothing.

Anybody have any ideas?
Post Reply
Re: Response.Redirects stop working on Local IIS
Thu, 13 Mar 2008 12:13:59 +000
Hi,

It appears you are Response.Redirect accrossing web application in IIS server.

The form name as you can see in this example 

<forms loginUrl="Logon.aspx" name=".ASPXFORMSAUTH"> 

specifies the HTTP cookie to use for authentication. When you have multiple
applications are running on a single server and each application requires a
unique cookie, you must configure the cookie name in each Web.config file for
each application.
Post Reply
about | contact