I have done something similar here...
        if(!HTTPRequest.asyncGet(url + "index_select.php?tosearch=3&id=" +
new Date().getTime(), new JSONResponseTextHandler())) {
            Window.alert("Error accessing index_select.php");
        }
The new Date().getTime() returns a new timestamp everytime...

Cheers,
Amit Dhingra
http://www.amitdhingra.in

On Thu, Oct 2, 2008 at 1:23 AM, Ian Bambury <[EMAIL PROTECTED]> wrote:

> It's not a good idea because it will only work for you.
>
> It depends what your servlet is returning what the best solution is and it
> is dependent on you having control over it, but you might be able to send
> headers to prevent caching.
>
> Ian
>
> http://examples.roughian.com
>
>
> 2008/10/1 ArunDhaJ <[EMAIL PROTECTED]>
>
>
>> Hi All,
>> I've found a work around for solving this problem. This might help
>> newbie like me.. ;-)
>>
>> In Internet explorer: Tools > Internet options > Settings > Every
>> visits to the page.
>>
>> I'm not sure about other browsers. Now I wanted to know whether this
>> approach is a better one.
>>
>>
>> -ArunDhaJ >>
>>


-- 
Warm Regards,
Amit Dhingra

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to