Click here to Skip to main content
15,891,136 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: hai every1 Pin
dinus288-Feb-07 17:47
dinus288-Feb-07 17:47 
AnswerRe: hai every1 Pin
gauthee8-Feb-07 17:48
gauthee8-Feb-07 17:48 
Questionusing ASP in Tomcat Server Pin
obarahmeh8-Feb-07 11:23
obarahmeh8-Feb-07 11:23 
AnswerRe: using ASP in Tomcat Server Pin
badgrs8-Feb-07 22:42
badgrs8-Feb-07 22:42 
QuestionVisual Studio.net Pin
No-e8-Feb-07 10:25
No-e8-Feb-07 10:25 
AnswerRe: Visual Studio.net Pin
gauthee8-Feb-07 17:39
gauthee8-Feb-07 17:39 
GeneralRe: Visual Studio.net Pin
No-e9-Feb-07 2:14
No-e9-Feb-07 2:14 
QuestionVirtualPathProvider and Caching Pin
Michael Wolski8-Feb-07 9:17
Michael Wolski8-Feb-07 9:17 
We have a ASP.Net 1.1 application we are moving to ASP.Net 2.0. The resources for this application are embedded, and served up using a virutal HTTP module. For example, an image on a page would have a url of getimage.aspx?smiley.gif , and the actual smiley.gif image is embedded in a .dll as a resource. The module extracts and serves up the image when it is called.

In ASP.Net 2.0 I have implemented a VirtualPathProvider to do the same thing, and it appears to work but with 1 caveat: The first call to the resource is cached and that value is always used. So if I make a call to getimage.aspx?smiley.gif I get the correct image, but if I make the call again to (say) getimage.aspx?frowny.gif I get the smiley.gif image.

I have debugged this to the point I know that the 2nd call isn't coming through, and figure it is caching my virtual url after the first call. How can I stop this? I want it to never cache the getimage.aspx page (or at least to detect the parameters are different, which I would have thought it should be doing anyway)

Note: I have overridden GetCacheDependency to return Null, and it didn't change anything. I also tried overriding GetCacheKey, providing it unique keys for each call, to no avail.

Any help/insight on this?

Michael
Developer, Author, Chef

QuestionValidation controls Pin
GaryWoodfine 8-Feb-07 8:51
professionalGaryWoodfine 8-Feb-07 8:51 
AnswerRe: Validation controls Pin
GaryWoodfine 8-Feb-07 9:06
professionalGaryWoodfine 8-Feb-07 9:06 
QuestionNew to ASP.Net Pin
h@s@n8-Feb-07 7:07
h@s@n8-Feb-07 7:07 
AnswerRe: New to ASP.Net Pin
Christian Graus8-Feb-07 9:34
protectorChristian Graus8-Feb-07 9:34 
QuestionASP.net memberships Pin
Kunal P8-Feb-07 5:51
Kunal P8-Feb-07 5:51 
AnswerRe: ASP.net memberships Pin
szukuro8-Feb-07 12:04
szukuro8-Feb-07 12:04 
GeneralRe: ASP.net memberships Pin
Kunal P8-Feb-07 18:44
Kunal P8-Feb-07 18:44 
GeneralRe: ASP.net memberships Pin
szukuro8-Feb-07 21:24
szukuro8-Feb-07 21:24 
Generalbetween timeIn,TimeEnd constraints Pin
bernie_0118-Feb-07 23:18
bernie_0118-Feb-07 23:18 
AnswerRe: ASP.net memberships Pin
Not Active8-Feb-07 18:32
mentorNot Active8-Feb-07 18:32 
GeneralRe: ASP.net memberships Pin
Kunal P10-Feb-07 21:12
Kunal P10-Feb-07 21:12 
GeneralRe: ASP.net memberships Pin
Not Active11-Feb-07 3:13
mentorNot Active11-Feb-07 3:13 
QuestionIssue in deploying the ASP.NET Application using Web Setup in the client machine. Pin
Anandan k8-Feb-07 4:16
Anandan k8-Feb-07 4:16 
GeneralRe: Issue in deploying the ASP.NET Application using Web Setup in the client machine. Pin
szukuro8-Feb-07 4:37
szukuro8-Feb-07 4:37 
GeneralRe: Issue in deploying the ASP.NET Application using Web Setup in the client machine. Pin
Anandan k8-Feb-07 18:12
Anandan k8-Feb-07 18:12 
QuestionControl Persistence Pin
badgrs8-Feb-07 3:58
badgrs8-Feb-07 3:58 
AnswerRe: Control Persistence Pin
badgrs8-Feb-07 4:26
badgrs8-Feb-07 4:26 

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.