I think it wouldn't be too bad, but there might be smarter ways.
What about recursively browse the directory once and build a struct, then you can use if structKey exists Regards Dale Fraser From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joel Chia Sent: Tuesday, 21 October 2008 2:54 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Lots of calls to DirectoryExists() 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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---