[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Problems with WAP  WML  refresh....

Posted on 2005-05-08
5
Medium Priority
?
616 Views
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

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

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
0
Comment
Question by:mirzaabdic
  • 2
3 Comments
 
LVL 2

Expert Comment

by:deadlock_
ID: 14038375
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?

//Jens
0
 
LVL 48

Accepted Solution

by:
Mikal613 earned 2000 total points
ID: 14125320
WAP dows not handle that Like deadlock you will need a
REAL browser that can handle other than wap
0
 
LVL 2

Expert Comment

by:deadlock_
ID: 14125695
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!

//Jens
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using in-flight Wi-Fi when you travel? Business travelers beware! In-flight Wi-Fi networks could rip the door right off your digital privacy portal. That’s no joke either, as it might also provide a convenient entrance for bad threat actors.
For Sennheiser, comfort, quality and security are high priority areas. This paper addresses the security of Bluetooth technology and the supplementary security that Sennheiser’s Contact Center and Office (CC&O) headsets provide.  
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…
Suggested Courses

829 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