PDA

View Full Version : Resolved Why is a random num added to the URL?



yabot
06-17-2009, 03:24 PM
1) Script Title:
Ajax Tab
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm
3) Describe problem:
The script seems to add a random number to the end of each GET, making the pages impossible to cache on the server...
Example: I http://domain.net/app/inlinePage?open&Page=About&1245251588352
The bold part comes from the AjaxTabs script i guess...

thetestingsite
06-17-2009, 04:02 PM
At the very top of the script, change the highlighted below to 0:





var ddajaxtabssettings={}
ddajaxtabssettings.bustcachevar=1 //bust potential caching of external pages after initial request? (1=yes, 0=no)
ddajaxtabssettings.loadstatustext="<img src='ajaxtabs/loading.gif' /> Requesting content..."



Hope this helps.

yabot
06-17-2009, 05:22 PM
Thanks :)
That made all the difference.