B
Bruno Alexandre
Hi guys,
I built a online Portal that shows results, stock managment, etc...
but same pages take long time to display because they are getting the
results from the Database.
to make it faster I add this line:
<%@ OutputCache Duration="5000" VaryByParam="none" %>
but I got a problem,
on that page I show the User Name, like Bruno Alexandre (from a session
object)
if I use the cache the name does not change! even if I logout and enter with
an entirely different user
I wanted to cache the hole page, but be able to have that dynamic label
correct
How can I cache parts of the page?
Without remove that label, what can I do to perform this Cache method?
Thank you
Bruno Alexandre
"a Portuguese in København, Danmark"
I built a online Portal that shows results, stock managment, etc...
but same pages take long time to display because they are getting the
results from the Database.
to make it faster I add this line:
<%@ OutputCache Duration="5000" VaryByParam="none" %>
but I got a problem,
on that page I show the User Name, like Bruno Alexandre (from a session
object)
if I use the cache the name does not change! even if I logout and enter with
an entirely different user
I wanted to cache the hole page, but be able to have that dynamic label
correct
How can I cache parts of the page?
Without remove that label, what can I do to perform this Cache method?
Thank you
Bruno Alexandre
"a Portuguese in København, Danmark"