Problems with WAP  WML  refresh....

Posted on 2005-05-08
Last Modified: 2008-02-01
Hej all
I have developed WML application which can view images taken with a webcam and placed on my TOMCAT server. WML file which shows picture is programmed so it refreshes it self: like

<card id="realtimecamera1" title="realtime kamera 1" ontimer="realcamera1.wml">
<p><b>Camera 1<b/><p/>
<timer value="200"/>

Så it is supposed to refresh itself...on timer..and it does..
But I get same picture on my cellphone becouse of a cache in it.
On cellphone I can not turn cach off.
How to solve this så I get new picture when it refreshitself. I have also tried to write Mets tags... like

    <meta forua="true" http-equiv="Cache-Control" content="max-age=0"/>

but it seems that browser of my sony ericsson T610 does not support that... I have a same problem...   :o(

Anyone who could help me... I need simple solution
Question by:mirzaabdic
    LVL 2

    Expert Comment

    hm... I have had similar problems... use to add a random value to the picture address to solve it... like this:

    <img src="myimage.jpg?random235235"/>

    You will need to use a server side script language for your page thought.... like php, asp, jsp, perl or similar.

    Hope this is a solution you are satisfied with?

    LVL 48

    Accepted Solution

    WAP dows not handle that Like deadlock you will need a
    REAL browser that can handle other than wap
    LVL 2

    Expert Comment

    I don't know if my <img > code was wrong for wap, it was a while since I did any wap programming. BUT the method I explained using a random value added to the images path works very well. I have done this myself before so I know this this works!


    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    MAC Filtering: MAC filtering is like handing a list of names to a doorman. If someone comes to the door and mentions a name, this name is checked by the doorman on his list and granted or denied access by this. This means that if someone menti…
    Hopefully this article will help someone who's had the same issues I had. I have a Dell Wireless 1390 WLAN Mini-Card and Windows 7, and for the past couple of days I was beyond frustrated because my wireless laptop was not able to access the Inte…
    This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
    Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now