Click here to Skip to main content
13,513,296 members
   

ASP.NET

 
QuestionEnable/Disable div based on RadiobuttonList Pin
samflex25-Jul-17 5:41
membersamflex25-Jul-17 5:41 
AnswerRe: Enable/Disable div based on RadiobuttonList Pin
F-ES Sitecore25-Jul-17 6:30
mvpF-ES Sitecore25-Jul-17 6:30 
AnswerRe: Enable/Disable div based on RadiobuttonList Pin
Richard Deeming25-Jul-17 6:50
mvpRichard Deeming25-Jul-17 6:50 
GeneralRe: Enable/Disable div based on RadiobuttonList (SOLVED) Pin
samflex25-Jul-17 9:32
membersamflex25-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
memberMember 1075459521-Jul-17 7:31 
AnswerRe: Table resizing in MVC Pin
Member 1075459527-Jul-17 10:44
memberMember 1075459527-Jul-17 10:44 
QuestionResponse.Cache, Code Location Pin
jkirkerx17-Jul-17 9:24
professionaljkirkerx17-Jul-17 9:24 
I have this problem where I change code in a Asp.Net 4.5.1 Webforms program, the users downstairs don't see the code changes, but all my devices upstairs work fine.
So I experimented with Response.Cache, put the code in the Page Load of the Master Page, and it worked fine.

But some programs like my shopping cart went haywire after the weekend. All of a sudden the Shopping Cart page was coming up empty.
Some of the symptoms where I walking the code, using SQL Linq, and the Linq says there are no items, yet I'm looking at the items in a DB Manager.

So I took the Response.Cache out and I have stability now.
I searched, but all I see are code examples, like the proper location is just assumed.
I suspect my wrong placement is sending out headers at the wrong time.

By the way, I have no knowledge on this subject.
Response.Cache.SetExpires(DateTime.Now.AddMinutes(1))
Response.Cache.SetCacheability(HttpCacheability.ServerAndPrivate)
Response.Cache.SetValidUntilExpires(True)
Response.Cache.VaryByParams.IgnoreParams = true;
If it ain't broke don't fix it

AnswerRe: Response.Cache, Code Location Pin
Richard Deeming17-Jul-17 10:09
mvpRichard Deeming17-Jul-17 10:09 
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
memberMember 839420716-Jul-17 21:26 
Questionwhat is default concurrent requests settings in IIS 8.5 Pin
bhavin chheda16-Jul-17 2:02
memberbhavin chheda16-Jul-17 2:02 
AnswerRe: what is default concurrent requests settings in IIS 8.5 Pin
Richard MacCutchan16-Jul-17 2:42
protectorRichard MacCutchan16-Jul-17 2:42 
QuestionPassword Field Padding with Question Marks (?s) Pin
ftbadolato7615-Jul-17 15:05
memberftbadolato7615-Jul-17 15:05 
AnswerRe: Password Field Padding with Question Marks (?s) Pin
Richard MacCutchan15-Jul-17 20:52
protectorRichard MacCutchan15-Jul-17 20:52 
GeneralRe: Password Field Padding with Question Marks (?s) Pin
ftbadolato7616-Jul-17 3:36
memberftbadolato7616-Jul-17 3:36 
GeneralRe: Password Field Padding with Question Marks (?s) Pin
Richard MacCutchan16-Jul-17 5:43
protectorRichard 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
mvpRichard 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
mvpF-ES Sitecore17-Jul-17 5:13 
QuestionMessage Closed Pin
13-Jul-17 21:19
groupRonadbrown13-Jul-17 21:19 
QuestionQuery regarding IIS Thread Pool Settings in Machine.config Pin
bhavin chheda13-Jul-17 6:51
memberbhavin chheda13-Jul-17 6:51 
QuestionSide bar Pin
sunsher11-Jul-17 2:19
membersunsher11-Jul-17 2:19 

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.


Advertise | Privacy |
Web04 | 2.8.180417.1 | Last Updated 20 Apr 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid