web.config authorization problem with firefox

May 25, 2009 at 2:32 AM

   My authentication set like this .

    <authentication mode="Forms">
      <forms defaultUrl="index.aspx" loginUrl="userlogin.aspx" protection="All" name="ASPNET"></forms>

      <!--<deny users="?"/>
      <allow users="*"/>-->

when user login the system ,  It work well under the IE7.0, but it doesn't work under firefox 3.0 .

So I tried use the uploader in firefox 3.0 only in the loginPage ,It work well.

I didn't know why .

May 25, 2009 at 2:55 AM
Edited May 25, 2009 at 2:56 AM

I found soluttion from the uploader docs this the url :


Flash Debug Player Cookies/Session Bug

Flash debug player for Firefox has a bug of not transferring the cookies with the upload request.

In order to overcome the bug you need to add the following code to your Global.asax code behind file:

public override void Init()
    base.BeginRequest += new EventHandler(this.BeginRequest);
void BeginRequest(object sender, EventArgs e)

This will register the cookies