Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_wap thread: Re: WAP Cache Problem


Message #1 by "Onder Ozcan" <onder_ozcan@h...> on Tue, 3 Apr 2001 13:27:14
Add a random generated number to the end of your URL.For example :

<a href="foo.asp?randomVariable=randomNumber"> Next Page </a>

> Can anyone help me?  
> 
> I am creating a page which generates the WAP content realtime based on 
information in a database.
> 
> My problem is that The cell phone holds onto the transmission in the 
cache.
> 
> I have tried the following:
> 
> 1. adding to the WML output
>     <head>
>     <meta http-equiv="Cache-Control" content="max-age=0"/>
>     </head>
> 
> 2. I have also tried this:
> 
>    Response.ContentType = "text/vnd.wap.wml"
>    Response.Expires = -1
>    Response.AddHeader "Pragma", "no-cache"
>    Response.AddHeader "Cache-Control", "no-cache, must-revalidate"
> 
> 
> I would really like to be able to flush the cache.  How can I do this??
> Can anyone help??
> 

  Return to Index