471,338 Members | 899 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,338 software developers and data experts.

Is there any difference between Sliding-time expiry andAbsolute time expiry?

Give an example !
Jun 27 '08 #1
2 2449
OK; just noticed all your other posts... what is this? homework? interview?

Jun 27 '08 #2
"satyanarayan sahoo" wrote in message
[Is there any difference between Sliding-time expiry and Absolute time
I assume that you are talking about the Cache.Insert method for ASP.Net web
Both expiration times establish a time after which the cache entry will be
invalidated (although it could be invalidated before that time if the server
needs the memory for other purposes). The difference is that the sliding
expiration is cleared after every access to that cache variable, so that,
for example, if you set the sliding expiration to 10 minutes, the cache will
only expire when 10 minutes pass without anyone accessing the web page that
uses that cache entry. On the other hand, the absolute expiration time is,
well, "absolute", meaning that the entry will always expire when that time
comes, regardless of wether it has been used in the meantime or not.
Jun 27 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Developwebsites | last post: by
2 posts views Thread by Mohammad Parwez | last post: by
2 posts views Thread by Lonewolf | last post: by
1 post views Thread by Viktor | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.