How to extend session time out in ASP .NET 3.5 web application

I have a dot net asp 3.5 C# web application that times out before a function loops through a  time consuming routine that generates and outputs a lot of word documents that are send to a printer for hard copies. Is there a way that the session time out period can be extended beyond normal session time or long enough to print all the documents? Or does the web server session time have to be extended to allow enough time to print all the documents. Please kindly tell me what can be done?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

      sqlconnectionstring="data source=;user id=<user id>;password=<password>"

Also check you IIS timeout..

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hi tcmmaxt,

Session.Timeout = 60;//it means that you have extended the Session time out from default 20min to 60min.

I hope that above make sense & easy to alter/adopt, while if you go with the above it will set to all application by default. I believe that you shoud use this extended timje only when that page / process requires.

In web.config file you can mention the timeout period in minutes.

<sessionState mode="InProc" cookieless="false" timeout="180"/>
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.