I've gone off and used DirectoryExists() and it seems to be holding up
fine. So I guess I was worrying for nothing :P
 
Cheers, 
-Joel 
 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Simon Haddon
Sent: Wednesday, 22 October 2008 6:17 AM
To: [email protected]
Subject: [cfaussie] Re: Lots of calls to DirectoryExists()


File system access to see if a file or directory exists is fast.  Can't
imagine it causing a problem any more than, say, a small loop. Easier
than a database query. If you start having performance issues then there
could be a whole range of things that can cause problems rather than a
directoryexists() call.

Cheers,
Simon


2008/10/21 Joel Chia <[EMAIL PROTECTED]>


        Hi, 

        I'm just working on a page here that's ment to display a link if
a certain directory already exists on the server. DirectoryExists() does
the job fine.

        Does anyone know what kind of implications/impact there'll be if
the page is called many many times (ie: intranet homepage kind of
traffic levels)?

        Mostly worried about it making the server cry. 

        Thanks! 
        -Joel 

         

        

         

        

         

        ********************************* DISCLAIMER
*********************************

        The information contained in the above e-mail message or
messages (which includes any attachments) is confidential and may be
legally privileged. It is intended only for the use of the person or
entity to which it is addressed. If you are not the addressee any form
of disclosure, copying, modification, distribution or any action taken
or omitted in reliance on the information is unauthorised. Opinions
contained in the message(s) do not necessarily reflect the opinions of
the Queensland Government and its authorities. If you received this
communication in error, please notify the sender immediately and delete
it from your computer system network.

        

         

        

         

         






-- 
Cheers
Simon Haddon

Woman loves feeling danger and speed. That is why woman wants man.  They
get a speed rush that is the most dangerous of all.







********************************* DISCLAIMER *********************************
The information contained in the above e-mail message or messages (which 
includes any attachments) is confidential and may be legally privileged.  It is 
intended only for the use of the person or entity to which it is addressed.  If 
you are not the addressee any form of disclosure, copying, modification, 
distribution or any action taken or omitted in reliance on the information is 
unauthorised.  Opinions contained in the message(s) do not necessarily reflect 
the opinions of the Queensland Government and its authorities.  If you received 
this communication in error, please notify the sender immediately and delete it 
from your computer system network.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" 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/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to