Hi ,
How to set session time out 3 hour in asp.net.
Regards,
Pratik
Hi ,
How to set session time out 3 hour in asp.net.
Regards,
Pratik
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vishal JoshiPosted Oct 31, 2023, 10:00 AM
Hello
In asp.net core, you can use ConfigureServices to set session time out. please checkout the below sample code for the same.
Thanks
Vishal
Jignesh KumarPosted Oct 31, 2023, 8:32 AM
Hello PRatik,
You can achieve in two way,