Archive for tag: iPhone

iPhone or iPad Safari cache clear

There are few solutions of clearing out Cache for iPhone or iPad but I have found that many people struggling to find it without restarting device so, I thought of writing blog. Following is step through.

1.  Go to Settings

2.  Then go down and go to Safari

3.  Then go down and see options Clear Cookie and Data as in below Image

I Phone -i Pad -Cookie -and -Data -Clear

4.  Now go back to your safari and you are done!

If you have any more question comment below.


ASP.NET forms authentication keeps displaying login page on iPad

ASP.NET forms authentication keeps displaying login page on iPad, when I was developing iPad web app, I have come across one of the bug that once we "Add as Home Screen" then we can create Web as App then once you have logged in then when we try and go through website somewhere it automatically clears the session out so then I have found out the solution, that we need to make changes inside web.config file and I had my my web.config file as following:

<authentication mode="Forms">
  <forms loginurl="/Account/LogOn" />

 Then, I have found out, and I have added timeout="2880" cookieless="UseCookies" as following: 

<authentication mode="Forms">
  <forms loginurl="/Account/LogOn" timeout="2880" cookieless="UseCookies" />

and it will start getting it working and you will not loose session.

If you have question don't forget to ask.

Thank you for going through