Skip to content Skip to sidebar Skip to footer

Asp.net Forms Authentication With Android Browser

I'm using ASP.NET Forms Authentication with a simple way. The authentication use a cookie for store the credentials. Works perfectly in browsers like: Desktop: Chrome, Safari, IE,

Solution 1:

The reason is the Response.End(). That function prematurely kills your stream of data. There is no need for it at all.

Different browsers handle the Response.End() in different ways. Some will render the page even though you ended the stream, and some will not render it.

Solution 2:

Check the "expires" parameter in the response's Set-Cookie header field, and make sure your phone is set to the correct time & date. If the browser thinks the cookie is already past its expiry date, it won't store it.

Post a Comment for "Asp.net Forms Authentication With Android Browser"