Ajax cache character
Ajax cache character
Hi jQuery gurus,
Can the character used for preventing browser caching be changed from '_' to '#' ?
More info:
If I set AJAX cache to false using:
- $.ajaxSetup ({
cache: false
});
Then my resulting AJAX URL has the characters &_=1278682998056 added to the end so that the browser (especially IE) sees it as a new page request. All well and good so far.
The resulting call is:
eg
- http://MyServer.myfunction?p_param1=5000405&_=1278682998056
My HTML page is using AJAX to call an Oracle function directly from the Oracle database which has exposed the function as a web service
Oracle Function:
- function myfunction(p_param1 number) is
- begin
- --Do something in oracle
- end;
Oracle insists on the parameters sent to it matching its built in parameter list, and _ is not allowed as it looks to Oracle like another parameter.
I can't change my function to
- function myfunction(p_param1 number, _ varchar2) is
- begin
- --Do something in oracle
- end;
because _ is not allowed at the start of a function name in Oracle.
So, is there a way to change the _ to the # character (which Oracle ignores quite happily)
Many thanks
Mark Caulfield
blucel.co.uk