09-08-2006, 06:17 PM
Currently I use fixed time interval as the control to refresh the wap/webpage in view by phone. But frequent refresh/reload make the Phone bill on GPRS rocket high.
To minimise the amount of data transfer (between phone and server) if no new update is available on the web
1. Is it possible reload the page inview by phone whenever the update is available? or could the phone check whether there is any new update before download is allowed?
2. How much is the byte size for the phone to check with the server without download?
Manual refresh is not an option as viewer may miss the update in between.
Appreciate your help.
09-08-2006, 07:35 PM
I would think any request made by the phone, whether it's a website,
or a server-side script would be the same. Unless it's a byte issue.
Do you get charged per byte of transfer, or by each access (refresh)?
That would be the only thing that would make the difference.
Even if the server knew the page had updated, the phone won't know unless
it either requests that info, or does a screen refresh. Both send headers.
people are accessing the same site? How would each one know if they are
looking at the latest update?
I don't know the answer to this question ... can the individual phones use
09-08-2006, 07:57 PM
maybe setup a callback function on the website and send out the header from the server?
i'm not exactly sure how you would do that. maybe a hack implementation of XMLHttpRequest?
09-09-2006, 12:55 AM
Guys, really appreciate your time to look into this post. Thank you rlemon and mlseim.
Just to clarify the situation.
I have made the wap page "relaoded/refreshed" whenever new info is updated on web site.
The charges on phone is by size of data transfer via GPRS not number of reload. Currently no matter how small is the wap page (2 character or 100 character) the reload size is still 1K byte.
As the goal is to make the tranfer size smaller
-Is there a way to shrink the wap page reload size of 100 alphabet to a smaller size rather than 1K byte (i was surprise to see both 2-character wap page and 100-character wap refresh also need 1K byte to be transfer to the phone)?
-when the phone send header to check with web server, is there a minimum size of 1K like reload/web page? how to do this efficiently (in term of byte)?