In my solution i have Forms Authentication. In my application when user login working it is suddenly log out. so many issues occuring. i change the timeout minutes in configuration like the following. but no hope..
Web.config
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880"></forms>
</authentication>
Account Models:
FormsAuthentication.SetAuthCookie(userName, createPersistentCookie);
Here i use false method like
FormsAuthentication.SetAuthCookie(userName, createPersistentCookie,false);
It is showing line error
overload methods (String, bool string) like that..
please give me ideas about this?