Compare Page Revisions
« Older Revision - Back to Page History - Newer Revision »
web.config
//configuration/system.web/authentication/forms/@name
. . .
//configuration/system.web/sessionState/@cookieName
Startup.Auth.cs
public partial class Startup { public void ConfigureAuth(IAppBuilder app) { app.UseCookieAuthentication(new CookieAuthenticationOptions { AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie, LoginPath = new PathString("/Account/Login"), /* Add the following line */ CookieName = "tokenB" }); . . . } }
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.