' Create a new FormsAuthenticationTicket that includes our custom User Dataĭim newTicket As FormsAuthenticationTicket = New FormsAuthenticationTicket(ticket.Version, ticket.Name, ticket.IssueDate, ticket.Expiration, ticket.IsPersistent, userDataString) ' Get the FormsAuthenticationTicket out of the encrypted cookieĭim ticket As FormsAuthenticationTicket = FormsAuthentication.Decrypt(authCookie.Value) 'HttpOnly cookie means it is not accessible by the client through ECMAScript. You do not have permission to view this directory or page using the credentials that you supplied.ĭetails to troubleshoot: Web.Config file Ĭode to authenticate users ' Create the cookie that contains the forms authentication ticketĭim authCookie As HttpCookie = FormsAuthentication.GetAuthCookie(sUserName, False) To temporarily resolve the issue I clean out all the cookies and the access is back on.Įrror: 403 - Forbidden: Access is denied. When they check back, website throws 403.
when a user accidentally closes their browser without logging out and tries again to open the url. I am getting 403: Forbidden Access is Denied.