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
Ameerudheen K
NA
46
2.1k
.net core application session lost
May 5 2020 3:36 AM
my .net core appliaction losses its session after payment success redirection. I have provided a return path while payment registration and the app must redirect to it after payment but its show login page by session out.
can anyone help on this
This is my cookiepolicyoption in Startup.cs
services.Configure<CookiePolicyOptions>(options => {
// This lambda determines whether user consent for non-essential cookies is needed for a given request.
options.CheckConsentNeeded = context =>
false
;
options.MinimumSameSitePolicy = SameSiteMode.None;
});
This is the session configuration :-
services.AddSession(options => {
options.IdleTimeout = TimeSpan.FromMinutes(30);
options.Cookie.HttpOnly =
true
;
options.Cookie.SameSite = Microsoft.AspNetCore.Http.SameSiteMode.Strict;
});
Reply
Answers (
1
)
Ajax call not working in firefox
Cannot print the custom paper size in crystal report c#