Posted on: 10/31/2013 11:25:40 AM | Views : 911

Hi All,
I am using form authentication in my web app ..i have set the ticket timout to 5 mins..
After 5 mins it shows a pop up saying authentication required with the web server ip: port number
How to get rid of this pop up
.net Frame work used 4.0
on login click button
FormsAuthenticationTicket objFAT = new FormsAuthenticationTicket(1, uname, DateTime.Now, DateTime.Now.AddMinutes(5), false, usermode, FormsAuthentication.FormsCookiePath); string st = FormsAuthentication.Encrypt(objFAT); HttpCookie objCookie = new HttpCookie(FormsAuthentication.FormsCookieName, st); Response.Cookies.Add(objCookie);
web.config code
<system.web> <authentication mode="Forms"> <forms name="Cookie" slidingExpiration="false" loginUrl="login.aspx"/> </authentication& ...

Go to the complete details ...