Page 1 of 1

Login the same projectID with different directory

Posted: Sat Aug 05, 2017 4:32 pm
by Danny

Hi,
 
We want to login at both "portal" and "portal40" without changing the Session Cookie Name.

We found this:
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
// Add framework services.
services.AddApplicationInsightsTelemetry(Configuration);
services.AddMvc();
services.AddSession(o => {
o.CookieName = ".Portal.Session";
o.IdleTimeout = TimeSpan.FromMinutes((EW_SESSION_TIMEOUT > 0) ? EW_SESSION_TIMEOUT : 20);
});
}

But we don't want the Session Cookie Name... we want to login at both "portal" and "portal40" without changing the Session Cookie Name.

Regards,


Re: Login the same projectID with different directory

Posted: Sat Aug 05, 2017 5:12 pm
by Webmaster

Simply set your own "Session cookie name" in advanced settings.