Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8745167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:57:44+00:00 2026-06-13T11:57:44+00:00

I have a page which I cache for hours using outputcaching. However, I still

  • 0

I have a page which I cache for hours using outputcaching. However, I still want to log each pageview in my database.

It is quite important I get access to my codebehind, as I will use these data to show personalized data.

So my outputcache parameter is:

<%@ OutputCache duration="7200" VaryByParam="*" %>

Solution thoughts…

I guess I basically want donut caching, but I really can’t find too much info about it.

Will the substitution control be suitable for this? Would a user control be cached?

What’s the best solution to access database to store a pageview, even though we’re using outputcaching?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:57:44+00:00Added an answer on June 13, 2026 at 11:57 am

    You can basically create a custom HttpHandler in asp.net and call that handler with appropriate parameters using javascript on page load. That handler will do rest of the things like saving page access related data in database etc.

    Let me know if you need more help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have got page which I would like to cache using the OutputCache directive.
In my website i have a database intensive page which i cache for 5
I have a page which is Https, I am pulling some rss feeds using
I have one Page which is displaying details of some Client. I am using
I have a php page where I add and delete items from database using
I have created simple .aspx page which queries a database for some live data
Is there any way to disable jqgrid local cache??? I have a page which
I have a graphics page which shows SVG graphics. I am using Raphael graphics
I have page which is redirected from htaccess. now I can pass the German
I have a page which loads and then I do some JQuery upon it.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.