Do you mean does it make the requests on its own? Or user action?  
Specifically to external websites or within my own?
 
There is a daily Scheduled Task that runs a CF page that loops through its 
directory and deletes temp PDF files. The directory is identified with 
"<cfset Variables.strDirPath = ExpandPath('.')>.
 
I use various "<cflocation url=...>" where the url is a local variable to 
forward from pages that handle SQL back to the user interface.
 
I use the following code in Application.cfm to generate a variable that is 
used in front of various <cflocation>'s urls to navigate back to the root 
directory without having to explicitly know how many subdirectories down I 
am...
 
<cfset local = {} />
<cfset local.currentDir = getDirectoryFromPath(cgi.SCRIPT_NAME)>
<cfset local.requestDepth = ListLen(local.currentDir, "\/") - 1>
<cfset WebRoot = RepeatString("../",local.requestDepth) />
 
I use Ajax via Javascript a LOT to make a plethora of local http requests, 
but these are usually tiny.  In fact, one bit of excessive code I'm 
reconsidering makes an Ajax call every single time the user clicks just to 
make sure their session is still alive.  I did not want to run this 
asynchronously in the background with a timer because I do not want the 
session to automatically stay alive if the user walks away from their 
machine.  I was originally concerned about the number of requests being 
made by this code, but it seems like most of the similar issues I've read 
about deal with large single requests versus a large number of tiny 
requests.
 

On Wednesday, March 20, 2013 12:38:19 PM UTC-4, Al Holden wrote:

>  I'm not a Java expert, but here's a shot in the dark after looking at 
> your trace:
>
> Does your application make any occasional http or web service calls?
>
> When it does, is the url or wsdl path a variable?
>  
> ---
> Al Holden
>
>
>  

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to