ADSI caching in ASP
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS ASP > ADSI caching in ASP




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    ADSI caching in ASP  
Ryan Ritten


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-29-04 10:55 PM

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





[ Post a follow-up to this message ]



    Re: ADSI caching in ASP  
Ray at


Report This Message To A Moderator Edit/Delete Message


 
07-01-04 01:52 AM

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" <sparticusREMOVE@thesparticusarena.com> wrote in message
news:f4d27a4f.0406291232.37bfc1ad@posting.google.com...
> 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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:13 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register