BlackBerry browser caching even with no-cache meta tags -
okay so, firstly website user sees list of tasks uncomplete. should work user clicks complete button , item no longer shows, seems not though!
when click 'complete' item have onclick function executes sql update statement , response.redirect page, sql statement executes correctly, page redirect list item still there!
if user exits page , comes list item has disappeared, makes me think page caching, have put following in place stop this:
<meta http-equiv="cache-control" content="no-cache, must-revalidate, post-check=0, pre-check=0" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="-1" />
which fine on blackberry bold running os 5.0, not work customers blackberry bold running os 4.x
any ideas of appreciated.
try this:
<!doctype html public "-//w3c//dtd html 4.01 transitional//en"> <html> <head> <meta http-equiv="expires" content="0"> <meta http-equiv="pragma" content="no-cache"> <title>expires example page</title> </head> <body> hello world! </body> </html>
this blackberry support forum: http://supportforums.blackberry.com/t5/web-development/browser-cache-and-quot-back-quot-button/m-p/155986
Comments
Post a Comment