Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
Event registration app with QR/Paypal
Home
Saturday, January 29, 2011
How to config SMTP Server in web.config file
<system.net>
<mailSettings>
<smtp>
<network host="0.0.0.0" port="25" userName="yourusername" password="password"/>
</smtp>
</mailSettings>
</system.net>
Where to set up session timeout in asp.net web.config?
<configuration>
<system.web>
<sessionState timeout="20"></sessionState>
</system.web>
</configuration>
The default value is 20 minutes.
Detail:
http://msdn.microsoft.com/en-us/library/system.web.sessionstate.httpsessionstate.timeout.aspx
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)