Question: I am developing movie ticket booking website. I am using sessions in that i want to extend the session timeout now am using 20mins as session timeout but when the user follows through the payment gateway or when he is in payment gateway page. the session timeout should not execute is there anyway to do that or session timeout should be extended .
can it be possible through the global.asax page or is there is any other way

Thanks in advance

Answer: 
you can adjust the application pool in the IIS process on the server where your application is hosted. By default it is set to 20 minutes. you can adjust it as per your convenience.

You can refer this [Link](http://asp-net.vexedlogic.com/2012/05/23/aspasp-net-session-timeout-how-do-i-change-it/)
I've implemented this solution on a few websites where we track online learning visitors/duration on a course. It prompts them when session is about to expire, and gives them 1 minute to click and preserve the session, else the pop up remains, but the expiration has passed and the session is dead. Great for people expiring at their computer b/c the popup grabs their attentions.

It also lets them know they have expired if they walked away, and are not expecting to be still logged in when they come back.

<http://www.experts-exchange.com/Programming/Languages/Scripting/ASP/Q_21208651.html>