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/)
You can have "sliding" session timeout, which will cover your scenario. Here is an example of doing it.

[How to do both sliding and absolute timeout in asp.net forms authentication](https://stackoverflow.com/questions/18277434/how-to-do-both-sliding-and-absolute-timeout-in-asp-net-forms-authentication)

Hope this helps.