So I have an authentication method
which looks like the following

```
 public ActionResult SignIn( SignInModel model, string returnUrl )
        {
            if ( ModelState.IsValid )
            {
                var user = accountService.Authenticate(model.UserName, model.Password);
                if ( user != null)
                {
                    var cookie = ApplicationHelpers.SetupFormsAuthTicket( user, model.RememberMe );

                    Response.Cookies.Add(cookie);

                    if ( Url.IsLocalUrl( returnUrl ) && returnUrl.Length > 1 && returnUrl.StartsWith( "/" )
                        && !returnUrl.StartsWith( "//" ) && !returnUrl.StartsWith( "/\\" ) )
                    {
                        return Redirect( returnUrl );
                    }
                    else
                    {
                        return Redirect("/" );
                    }
                }
                else
                {
                    ModelState.AddModelError( "", "The user name or password provided is incorrect." );
                }
            }
            return View( model );
        }

```

It gets hit as expected.

when the user has successfully authenticated it redirects to another url and the Globab.asax (Application\_Postauthenticaterequest) gets hit.
my problem is that 

```
 HttpCookie authCookie = Request.Cookies[ FormsAuthentication.FormsCookieName ];

```

is always null.

I'm creating the cookie in the following 2 methods

```
public static HttpCookie SetupFormsAuthTicket( OutsourcingPrincipal user, bool isPersistent = false )
        {
            string encTicket = SetupFormsCookie( user, isPersistent );
            return new HttpCookie( FormsAuthentication.FormsCookieName, encTicket );
        }

        private static string SetupFormsCookie(  OutsourcingPrincipal user, bool isPersistent )
        {
            var serializeModel = new OutSourcingPrincipalSerializeModel();   
            serializeModel.FirstName = user.FirstName;
            serializeModel.LastName = user.LastName;
            serializeModel.Username = user.Username;
            JavaScriptSerializer serializer = new JavaScriptSerializer();
            string userData = serializer.Serialize( serializeModel );

            var ticket = new FormsAuthenticationTicket( 1,
                                                    user.Username,
                                                    DateTime.Now,
                                                    DateTime.Now.AddMinutes(30),
                                                    isPersistent,
                                                    userData );
            var encTicket = FormsAuthentication.Encrypt( ticket );
            return encTicket;
        }

```

Can you spot what i'm doing wrong?