Click here to Skip to main content
15,905,508 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Web deployment tool that supports IIS 7.0 Pin
Manas Bhardwaj25-Aug-08 20:53
professionalManas Bhardwaj25-Aug-08 20:53 
Questionjava script problem Pin
rajkumar.325-Aug-08 20:37
rajkumar.325-Aug-08 20:37 
AnswerRe: java script problem Pin
AhsanS25-Aug-08 20:43
AhsanS25-Aug-08 20:43 
GeneralRe: java script problem Pin
rajkumar.325-Aug-08 20:47
rajkumar.325-Aug-08 20:47 
AnswerRe: java script problem Pin
Christian Graus25-Aug-08 21:56
protectorChristian Graus25-Aug-08 21:56 
QuestionUsing Of Adrotor with xml file and Ajax in Asp.net Pin
G Dhiman25-Aug-08 20:23
G Dhiman25-Aug-08 20:23 
AnswerRe: Using Of Adrotor with xml file and Ajax in Asp.net Pin
Blue_Boy25-Aug-08 20:51
Blue_Boy25-Aug-08 20:51 
QuestionIs the Unload event fired when Page Caching is enabled? Pin
jrhea25-Aug-08 13:08
jrhea25-Aug-08 13:08 
Let me first say hello, as this is my first post to these forums.

My question is, say that I want to log an entry to a database through a stored procedure when a page is requested. The log is merely a counter for recording how often a page is being requested. This stored procedure may take longer than I would like to execute, and I do not want to affect the performance of the page. This page may also have page caching enabled.

So, I'm thinking there are two ways I can go about this. I could execute the SP asynchronously on the load event or I can execute the SP from the unload event after the page has rendered. I would think the unload event would make more sense since the load event will not fire if the page has been cached. But this leads me to my original question. Does the unload event fire when page caching is enabled? If not, is there a better way to log for pages that are being cached?

Thanks for your help.

Visit My Site - http://www.jacerhea.com/blog

AnswerRe: Is the Unload event fired when Page Caching is enabled? Pin
AlexeiXX325-Aug-08 16:22
AlexeiXX325-Aug-08 16:22 
GeneralRe: Is the Unload event fired when Page Caching is enabled? Pin
jrhea25-Aug-08 17:46
jrhea25-Aug-08 17:46 
GeneralRe: Is the Unload event fired when Page Caching is enabled? Pin
AlexeiXX325-Aug-08 17:59
AlexeiXX325-Aug-08 17:59 
GeneralRe: Is the Unload event fired when Page Caching is enabled? Pin
jrhea25-Aug-08 18:13
jrhea25-Aug-08 18:13 
QuestionTreeview Pin
Steve R Adams25-Aug-08 10:48
Steve R Adams25-Aug-08 10:48 
AnswerRe: Treeview Pin
AlexeiXX325-Aug-08 16:18
AlexeiXX325-Aug-08 16:18 
GeneralRe: Treeview Pin
Steve R Adams28-Aug-08 10:24
Steve R Adams28-Aug-08 10:24 
GeneralRe: Treeview Pin
AlexeiXX328-Aug-08 10:40
AlexeiXX328-Aug-08 10:40 
GeneralRe: Treeview Pin
Steve R Adams28-Aug-08 11:47
Steve R Adams28-Aug-08 11:47 
GeneralRe: Treeview Pin
Steve R Adams2-Sep-08 11:57
Steve R Adams2-Sep-08 11:57 
GeneralRe: Treeview Pin
AlexeiXX33-Sep-08 6:41
AlexeiXX33-Sep-08 6:41 
Questiongmail "more actions" menu? Pin
Todd Smith25-Aug-08 9:22
Todd Smith25-Aug-08 9:22 
AnswerRe: gmail "more actions" menu? Pin
Colin Angus Mackay25-Aug-08 10:51
Colin Angus Mackay25-Aug-08 10:51 
QuestionFileUpload and the content type Pin
Fernando A. Gomez F.25-Aug-08 9:07
Fernando A. Gomez F.25-Aug-08 9:07 
AnswerRe: FileUpload and the content type Pin
Christian Graus25-Aug-08 9:44
protectorChristian Graus25-Aug-08 9:44 
GeneralRe: FileUpload and the content type Pin
Fernando A. Gomez F.25-Aug-08 12:15
Fernando A. Gomez F.25-Aug-08 12:15 
AnswerRe: FileUpload and the content type Pin
Todd Smith25-Aug-08 9:51
Todd Smith25-Aug-08 9:51 

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.