HighTechTalks DotNet Forums  

PDA Local Cache

ASP.net Mobile microsoft.public.dotnet.framework.aspnet.mobile


Discuss PDA Local Cache in the ASP.net Mobile forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Just D.
 
Posts: n/a

Default PDA Local Cache - 08-02-2004 , 12:37 PM






All,

How can we disable the local cache on PDA? I wrote the Web application that
works on PDA, the problem is when I click the BackSpace button I'm able to
see all previous pages and I hate that. The connection is secure but PDA
returns all these pages from it's local cache breaking the data flow. The
cache is disabled on aspx pages using the special tag, but it doesn't help.
What are any possible ways to block the BackSpace button when we use PDA
with its built-in browser to work with Web Application or to clean the cache
up to prevent showing all previous pages?

The main question is - if I show some list that should be hidden for other
users, the current user finishes his task, maybe even closes the browser and
gives this PDA to anybody else and this new person when starts the browser
can see all previous pages from the local cache. Nonsense. How can I disable
that from my ASPX or codebehind?

Dmitri.



Reply With Quote
  #2  
Old   
Jean-Luc David [MS-MVP]
 
Posts: n/a

Default Re: PDA Local Cache - 08-03-2004 , 04:09 AM






Hi Dmitri,

To prevent page caching using HTTP headers, look at this article:
http://www.htmlgoodies.com/beyond/nocache.html

Here are a few KB articles related to ASP.NET caching:

Q307225 INFO: ASP.NET Caching Overview
http://support.microsoft.com/support/kb/articles/q307/2/25.asp

Q308375 HOW TO: Control Output Page Caching in ASP.NET Using Visual C#
http://support.microsoft.com/support/kb/articles/q308/3/75.asp

Thanks,
Jean-Luc David
Microsoft .NET MVP
dotnetmvp (AT) hotmail (DOT) com
http://www.stormpixel.com
http://weblogs.asp.net/jld/

--- Original Message ---
Quote:
All,

How can we disable the local cache on PDA? I wrote the Web application
that
works on PDA, the problem is when I click the BackSpace button I'm able to
see all previous pages and I hate that. The connection is secure but PDA
returns all these pages from it's local cache breaking the data flow. The
cache is disabled on aspx pages using the special tag, but it doesn't
help.
What are any possible ways to block the BackSpace button when we use PDA
with its built-in browser to work with Web Application or to clean the
cache
up to prevent showing all previous pages?

The main question is - if I show some list that should be hidden for other
users, the current user finishes his task, maybe even closes the browser
and
gives this PDA to anybody else and this new person when starts the browser
can see all previous pages from the local cache. Nonsense. How can I
disable
that from my ASPX or codebehind?

Dmitri.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.