Not logged in. · Lost password · Register
Forum: Features request RSS
Wap skin and caching
is it possible to add a random number?
WobinB (Guest) #1
No profile available.
Link to this post
Hi,

I'm working on modifying the WAP skin, and having some problems....

somewhere between browseamp, and my wap browser the pages are getting cached. e.g. when you select the same command in succession nothing happens, because the browser simply shows the same page, without the command reaching browseamp.

What would be good is if i could add a random number to the URL, hence the browser would be forced to recieve the fresh page, this seems to work, but how would we add the random number? any ideas?

I'm not very confident with WML yet but i'm guessing javascript won't work within WML?

thanks in advance for any help

Robin
Avatar
Henry (Administrator) #2
Member since Jan 2003 · 865 posts · Location: Munich Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Sorry for answering so late...

I am not experienced in WML stuff but maybe there is some header information (like expires in html) to force a complete reload. Adding a random number generator to BrowseAmp is also not too difficult. Wait for the next release.
Avatar
Azimuth #3
Member since Jan 2003 · 427 posts · Location: Chicago, Illinois - USA
Group memberships: Members
Show profile · Link to this post
Maybe try this...

<head>
 <meta name="keyword" content="WAP"/>
 <meta http-equiv="cache-control" content="no-cache"/>
</head>

Here is a good reference...

http://www.w3schools.com/wap/default.asp
This post was edited on 2004-09-17, 11:48 by Unknown user.
Wobinb #4
Member since Sep 2004 · 2 posts
Group memberships: Members
Show profile · Link to this post
thankyou for your replies,

the cache control lines are already included on the default wap skin, but something between browseamp and the browser is ignoring them :(

I look forward to the next release and keep up the good work.

Robin
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Page created in 208.4 ms (111.4 ms) · 51 database queries in 81.7 ms
Current time: 2018-02-24, 12:11:12 (UTC +00:00)