[Mono-list] response.redirect() infinite loop.

Gonzalo Paniagua Javier reply.to.the.list.iam.suscribed@notexists.ximian.com
Thu, 28 Apr 2005 02:28:35 -0400


On Wed, 2005-04-27 at 17:29 +0900, 이우성 wrote:
[...] 
> after i set "Web.Config" for 'forms authentication' in apache html
> directory just like below,
>  
> ...
> <authentication mode="Forms">
>     <forms name="AUTH_COOKIE_NAME" loginUrl="login.aspx" path="/">
>     </forms>
> </authentication>
> ...
>  
> Response.Redirect() doesn't work and the login page loops infinitely.
>  
> ...
> if ( ValidateUser( username, password ) == true )
> {
>     FormsAuthentication.SetAuthCookie(username false);
>     Session["UserID"] = username;
>     Response.Redirect("default.aspx", false);
> }
> ...
>  
> this code works very well with IIS.
> but looks doesn't work in mod_mono.

If you have a small test case that can reproduce your problem, plz use
bugzilla.ximian.com to report the problem providing all the information
needed to reproduce it.

Thanks.

-Gonzalo