c# - How to change the cookie ExpireTimeSpan in Asp.Net Identity after ConfigureAuth -
we have product using asp.net identity want cookie expiry time configurable. expiretimespan set in startup.configureauth class visual studio creates new project. getting time configuration file on startup want able change value webapi. stands, webapi request can modify config file need recycle app pool take effect.
is there way change value once server , running?
all found on subject question asp.net identity change expiretimespan after configureauth asking way change single session whereas want change globally whole server.
update: have found looking through katana source options appear stored in public property of class microsoft.owin.security.cookies.cookieauthenticationmiddleware don't know of way reference object being used within app.
Comments
Post a Comment