In ASP.NET there are two ways of setting the session timeout.

In the code:

Session.Timeout = 20

or In web.config

<sessionState timeout="20"/>

But what I don't understand is the differente between the two forms.

Are there any?

Related posts

Recent Viewed