Our web application is a site that gets thousands and thousands of
hits daily. So obviously in such multi-threaded environment
performance is important. The ASP frontend is written the way that
each time a value of a certain cookie is needed a call to
request.cookies("cookieName") is executed.
Question - does anyone know if executing this call is a costly
operation or not? Purely from the performance standpoint does it make
sense to execute this call once, save its value in a variable and then
use this variable rather than calling request.cookies all the time? I
could not find a definitive answer online.
Just FYI it is not ASP.NET and the IIS server version is 6.0.
Thanks in advance
Eugene