DirectoryEntry Pooling...



Hi,
In one of my application i am using System.DirectoryServices to get
some data from Sun One Directories.
I am using Asp.net & C# 2.0

I am worried about the performance. I have following doubts.

1. Which will be better
a. adding DirectoryEntry Object to session.
b. Createing new object everytime.

2. Which kind of pooling do I need to use (connection pooling / object
pooling)

Is there any way to pool the directoryentry object.

Thanks in advance,

Hemant
.



Relevant Pages