WMLScript under Orange

Posted on 2005-05-04
Medium Priority
Last Modified: 2013-12-27
I'm considering using WMLScript in my app.

As far as I know, when calling a WMLScript function, the mobile should only fetch the wmls page from the server on the first call, and then take it from the browser's cache on the next calls.

However, this is not the case under Orange UK or Orange Israel or any other Orange I suppose.

Looking at the IIS logs, I see that when going through Orange WAP gateways the phone keeps going to the server to fetch the wmls file.

Did anyone ever encounter this problem? Is there any workaround?

It it crucial for me since my app is designed for a very large number of users and I can't afford going to the server on every call to a function. (even it it's just a request for validating the date of the file)

Question by:TalMele
  • 2
LVL 15

Accepted Solution

ncoo earned 2000 total points
ID: 13927906
Try add the following bit of code to your card tags:

<card newcontext="false">

It should be set by default to false but it maybe something to do with orange handsets where by it's not for some reason.

The other problem maybe the cache on orange handsets isn't as large as on say o2 handsets so it is unable to cache the whole script.

When you say it keeps going to the server to fetch the files it may only be going to check that they are there and that they haven't changed since it cached the script, if the files haven't changed it's very unlikely the script is downloading them again. I know this is the case on a site I run.

I hope that answers your question.

Author Comment

ID: 13933720
Hi ncoo.
Thank you very much for your help.
I try to write <card newcontext="false"> (though it default )  But  a frustration it still Don't work.
The size of the script it less 5k and  also after I transform the file to wmlsc and the size
low to 1k it still go to the server in all time (only in Orange in vodafone and o2 it not happen).

When I say it keeps going to the server,
 I mean that in IIS log I can see that  orange handset request all time the *.wmlsc or my *wmls (Code 200)
And when I use vodafone or o2  handsets I see then  request  only once the script.


LVL 15

Expert Comment

ID: 13987397
Have you tried the same Orange Phone with an O2 or Vodafone SIM Card in and tried accessing the page? Does the phone request the script all the time?

I mainly ask this just to rule out another option, it maybe that it's something to do with the phone and not the network.

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Coaxial cable bending There are several factors that govern the selection of coaxial cable for your Machine to Machine (M2M) application: the location of cable runs, either indoor or outdoor, inside or outside an enclosure, maximum bending and the…
DECT technology has become a popular standard for wireless voice communication. DECT devices are not likely to be affected by other electronic devices and signals because they operate in a separate frequency-band.
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
Course of the Month16 days, 4 hours left to enroll

850 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