Hi,
What is the difference between the timeout parameter in

FormsAuthenticationTicket constructor
and
timeout attribute in the authentication element of
web.config file
<authentication mode="Forms">
<forms loginUrl="Authentication/AdminLogin.aspx"
protection="All" timeout="1" name="VSEC">
</forms>
</authentication>

When is the web.config is used?

Thanks for your help,
Senthil