Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
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.

Regards
Nanda Kishore.CH
Posted
Comments
I.explore.code 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.
I.explore.code 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 ?
I.explore.code 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.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900