Archive for tag: iPad

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" />
</authentication>

 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" />
</authentication>

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

View iPad Websites via Firefox Web Browser

Curious to see what iPad websites look like without an iPad? If you have Firefox installed on your computer, download the User Agent Switcher add-on and create a new iPad user agent profile, so you can view iPad websites on your desktop with the Safari browser of Apple iPad, just get the desktop version of Safari and change the user-agent of Safari to that of iPad.

Here's the fulluser agent string of iPad

Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 
(KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10

Chrome users (Linux/Windows) can can easily change their user agent by launching Chrome with the following user agent string:

-user-agent="Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) 
AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10″

 hope this artilce helps! :)

Thank you