Click here to Skip to main content
12,821,041 members (41,860 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# ASP.NET
I applied Page level caching for one webpage in my sample project. IT has 4 users with different roles.
Fisrt user loged in watch his data in jobs screen, after some time first user logged out.
second user loged and watch the same screen.. it doesn't show the second user data. it shows the first user data and first user name. here show the second user data and second user name because here loged in second user.

How cain i resolve this. If any one know about this Help me.

Nanda Kishore.CH
Posted 11-Oct-12 21:56pm
Aman.A 12-Oct-12 3:13am
What happens when you don't use page level caching? Is your page too complicated to not have it cached?
nandkishorre 12-Oct-12 3:15am
my web page is loading very slowly. that's y i used pagelevel cache.
Aman.A 12-Oct-12 3:27am
If the page loading is slow then code is the first place I would look into. Caching is not going to improve anything, what if the cache gets invalidated at some point? You are still gonna have to reload the new page which would still be slow. Look into your code see if there is anything you can optimize there, code, data, design of the page anything. Don't cache just yet.
nandkishorre 12-Oct-12 3:33am
Data retriving from database it takes 1 to 2 secs, but page desinging loading is takes 10-12 secs. how to solve this ?
Aman.A 12-Oct-12 3:39am
Pages load slow because of the following reasons AFAIK:
1. Lot of data that takes longer to get from the db
2. If all that load of data has to be rendered on the page in list based controls which explodes the size of the viewstate and the page thereby making it slow to render.
3. Network connection speed is slow.
Identify what is the problem in your case. Look at the requests and responses using Fiddler or Firebug, these tools can help a lot to identify where its getting messed up.
Aman.A 12-Oct-12 3:41am
Also look at your db queries, see what's the execution plan is like.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 12 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100