TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
developer developer
NA
5
552
logging out after a few minutes despite authentication in owin
Oct 31 2020 7:00 AM
I use owin and although I have set the expired time defined in Startup.cs as 2 days, it exits itself after 15 minutes when the site is open in browser
public
void
ConfigureAuth(IAppBuilder app)
{
app.UseCookieAuthentication(
new
CookieAuthenticationOptions
{
AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
LoginPath =
new
PathString(
"/Admin/Login"
),
ExpireTimeSpan = TimeSpan.FromDays(2.0)
});
}
Reply
Answers (
2
)
Excel file create
I am having problems accessing classes in subfolders