Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
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 11-Oct-12 20:56pm
Comments
Aman.A at 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 at 12-Oct-12 3:15am
   
my web page is loading very slowly. that's y i used pagelevel cache.
Aman.A at 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 at 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 at 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 at 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
0 OriginalGriff 468
1 Sergey Alexandrovich Kryukov 323
2 PhilLenoir 115
3 RajeeshMenoth 110
4 Peter Leow 100
0 Sergey Alexandrovich Kryukov 6,465
1 OriginalGriff 5,926
2 CPallini 2,473
3 Richard MacCutchan 1,687
4 Abhinav S 1,540


Advertise | Privacy | Mobile
Web03 | 2.8.140821.2 | Last Updated 12 Oct 2012
Copyright © CodeProject, 1999-2014
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