Yeap, I try the two solutions, give the url a random number (don´t work for
me, but for many people did) and use the 3 lines that I put on a previus
mail for no caching, that works for me.
Thanks
2006/9/22, Francesco Azzola <[EMAIL PROTECTED]>:
It is possible to append ad the URL end a random
It is possible to append ad the URL end a random number to avoid cache problems.
I tried it and it works fine with IE and FireFox.
Bye
F.
__
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto
spazio gratuito
I made it, in fact was a cache problem:
<%
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy
server
%>
With that my application ran on IExplorer, thanks all for the
Why not do a post? It's not any harder. You just have to add one extra
line and move the arguments from the URL to the send:
ajax.open("POST","/GetCustomers.aspx",true);
ajax.setRequestHeader
("Content-Type","application/x-www-form-urlencoded");
ajax.onreadystatechange = fu
alredy do the url change, I'm reading this: http://www.enja.org/david/?p=25
Click Here
function uncache(url,form){
var d = new Date();
var time = d.getTime();
url += '&time='+time;
retrieveURL(url,form);
}
I will keep reading
Frank ist seams like it's a caching problem
This is a note for myself but it could be useful for anybody writing some
Ajax calls.
If you use a GET method to send an asynchronous request to your server side
code, if you don't do anything Internet Explorer will cache locally your
request, so obvio
Gotta give me some time, I have work to do to you know :)
Are you asking for a complete AJAX project? If so, take a look at
struts.sourceforge.net, where you'll find AjaxChat.
Or are you asking for a client-side logging implementation?
Frank
--
Frank W. Zammetti
Founder and Chief Software A
Instead of rolling your own AJAX object (which seems to be all the craze in
books and magazines). I'd look at something like Sarissa, it's tried and
true and it's whole purpose in life is to bring cross browser support to
AJAX.
(*Chris*)
On 9/21/06, Daniel Chacón Sánchez <[EMAIL PROTECTED]> wro
Frank??
2006/9/21, Daniel Chacón Sánchez <[EMAIL PROTECTED]>:
Thanks Frank, obviously I made test and used alerts and saw lines numbers
and I didn´t found the error.
Of that 100 implementions that I can quickly find in
Google, can you give me two links (more if possible), to make that an
appli
Thanks Frank, obviously I made test and used alerts and saw lines numbers
and I didn´t found the error.
Of that 100 implementions that I can quickly find in
Google, can you give me two links (more if possible), to make that an
application that was made in struts, and it's already finnished, in wh
Have you dont some basic troubleshooting yet? Things as simple as
throwing some alerts() in various functions and between various lines and
seeing where it fails? If you have Visual Studio installed, you'll have a
full debugger, which can help, but without that it's a bit trickier on
IE... you ca
Sorry, the problem is the same on IE 7 and IE 6, so is not a version
problem. And I don´t receive a javascript error, that was for something else
that I alredy fix, someone, any help??
2006/9/21, Daniel Chacón Sánchez <[EMAIL PROTECTED]>:
Hi all,
I'm using struts with AJAX
I introduced Ajax t
Hi all,
I'm using struts with AJAX
I introduced Ajax to my struts application based on the article: *"**Sprinkle
Some AJAX Magic in Your Struts Web Application"
http://today.java.net/pub/a/today/2005/10/27/sprinkle-ajax-magic-into-struts-webapp.html?page=1
*
I use the ajax javascript and the fu
13 matches
Mail list logo