Click here to Skip to main content
15,885,278 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Enable/Disable div based on RadiobuttonList Pin
F-ES Sitecore25-Jul-17 6:30
professionalF-ES Sitecore25-Jul-17 6:30 
AnswerRe: Enable/Disable div based on RadiobuttonList Pin
Richard Deeming25-Jul-17 6:50
mveRichard Deeming25-Jul-17 6:50 
GeneralRe: Enable/Disable div based on RadiobuttonList (SOLVED) Pin
samflex25-Jul-17 9:32
samflex25-Jul-17 9:32 
QuestionVisual Studio & Asp.Net in Web Forms Bad Design view Pin
zequion23-Jul-17 2:23
professionalzequion23-Jul-17 2:23 
QuestionTable resizing in MVC bootstrap Pin
Member 1075459521-Jul-17 7:31
Member 1075459521-Jul-17 7:31 
AnswerRe: Table resizing in MVC Pin
Member 1075459527-Jul-17 10:44
Member 1075459527-Jul-17 10:44 
QuestionResponse.Cache, Code Location Pin
jkirkerx17-Jul-17 9:24
professionaljkirkerx17-Jul-17 9:24 
AnswerRe: Response.Cache, Code Location Pin
Richard Deeming17-Jul-17 10:09
mveRichard Deeming17-Jul-17 10:09 
Based on the description, I suspect you're caching the page output for all users. So if a user with nothing in their cart is the first to visit your page when the cache is empty, the server caches the output for an empty cart, and returns that for all users. Conversely, if the first visit is from a user with something in their cart, that user's cart will be returned for all users who visit within the next minute.

If your site displays any profile information, that's a potential data-protection issue. One customer's name, address, and contact details could end up being displayed to any other user who visits before the cached output expires.

You'll either need to turn off server caching for pages which vary by user, or use "doughnut caching" to ensure that the user-specific parts of the page don't get cached:
ScottGu's Blog - Tip/Trick: Implement "Donut Caching" with the ASP.NET 2.0 Output Cache Substitution Feature[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Response.Cache, Code Location Pin
jkirkerx18-Jul-17 7:38
professionaljkirkerx18-Jul-17 7:38 
QuestionUsing Visual Studio to debug iHTTPHandler routines Pin
Member 839420716-Jul-17 21:26
Member 839420716-Jul-17 21:26 
Questionwhat is default concurrent requests settings in IIS 8.5 Pin
bhavin chheda16-Jul-17 2:02
bhavin chheda16-Jul-17 2:02 
AnswerRe: what is default concurrent requests settings in IIS 8.5 Pin
Richard MacCutchan16-Jul-17 2:42
mveRichard MacCutchan16-Jul-17 2:42 
QuestionPassword Field Padding with Question Marks (?s) Pin
ftbadolato7615-Jul-17 15:05
ftbadolato7615-Jul-17 15:05 
AnswerRe: Password Field Padding with Question Marks (?s) Pin
Richard MacCutchan15-Jul-17 20:52
mveRichard MacCutchan15-Jul-17 20:52 
GeneralRe: Password Field Padding with Question Marks (?s) Pin
ftbadolato7616-Jul-17 3:36
ftbadolato7616-Jul-17 3:36 
GeneralRe: Password Field Padding with Question Marks (?s) Pin
Richard MacCutchan16-Jul-17 5:43
mveRichard MacCutchan16-Jul-17 5:43 
GeneralRe: Password Field Padding with Question Marks (?s) Pin
Nathan Minier17-Jul-17 1:15
professionalNathan Minier17-Jul-17 1:15 
AnswerRe: Password Field Padding with Question Marks (?s) Pin
Richard Deeming17-Jul-17 1:40
mveRichard Deeming17-Jul-17 1:40 
Questionmanual session id assignment Pin
jkirkerx14-Jul-17 6:25
professionaljkirkerx14-Jul-17 6:25 
AnswerRe: manual session id assignment Pin
jkirkerx14-Jul-17 8:26
professionaljkirkerx14-Jul-17 8:26 
AnswerRe: manual session id assignment Pin
F-ES Sitecore17-Jul-17 5:13
professionalF-ES Sitecore17-Jul-17 5:13 
QuestionQuery regarding IIS Thread Pool Settings in Machine.config Pin
bhavin chheda13-Jul-17 6:51
bhavin chheda13-Jul-17 6:51 
QuestionSide bar Pin
sunsher11-Jul-17 2:19
sunsher11-Jul-17 2:19 
AnswerRe: Side bar Pin
ZurdoDev11-Jul-17 2:54
professionalZurdoDev11-Jul-17 2:54 
QuestionFTP user and user wise folder Pin
sanket1649-Jul-17 18:14
sanket1649-Jul-17 18:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.