By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,876 Members | 1,200 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,876 IT Pros & Developers. It's quick & easy.

ADSI caching in ASP

P: n/a
I was wondering if anyone knew how (or if it's even possible) to cache
the results of an ADSI call in asp for a longer period of time.

Basically what I am doing is I have a website that loads the 'full
name' of the user that logs into it. Once the user full nam ehas been
retreived (using adsi) the user can reload the page and it appears to
just check a cached version of the request (since the page loads very
fast). If however the user waits a bit longer (maybe 5 min) and
reloads the page it will take upto 4 secs to load the page (since the
adsi call is being resubmitted).

Is there anyway to increase the length of time that adsi info is
cached?

Thanx!

Ryan R
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
How about just putting it in a session variable instead of relying on the AD
cache's speed?

How big is your AD that it takes that long to retreive the data? I mean, 4
seconds isn't 4 years or anything, but when I call data from the AD, it
doesn't add any noticeable time. But, the AD I work with contains about
3000 objects in 50 OUs.

Ray at home

"Ryan Ritten" <sp*************@thesparticusarena.com> wrote in message
news:f4**************************@posting.google.c om...
I was wondering if anyone knew how (or if it's even possible) to cache
the results of an ADSI call in asp for a longer period of time.

Basically what I am doing is I have a website that loads the 'full
name' of the user that logs into it. Once the user full nam ehas been
retreived (using adsi) the user can reload the page and it appears to
just check a cached version of the request (since the page loads very
fast). If however the user waits a bit longer (maybe 5 min) and
reloads the page it will take upto 4 secs to load the page (since the
adsi call is being resubmitted).

Is there anyway to increase the length of time that adsi info is
cached?

Thanx!

Ryan R

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.