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 7018541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:03:52+00:00 2026-05-27T23:03:52+00:00

I enabled output caching in IIS 7 and varied it by all querystrings, using

  • 0

I enabled output caching in IIS 7 and varied it by all querystrings, using *. However some pages do not act correctly. For instance I have a login page which has a asp:LinkButton which when clicked should log the user in and redirect them. However IIS has cached this page and so all that happens when I click login is the page reloads. What suggestions would you have to avoid this expected behaviour for some pages while preserving it on otheres?

Thanks in advance.

  • 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-05-27T23:03:52+00:00Added an answer on May 27, 2026 at 11:03 pm

    You can’t do this. How output caching works is by caching the rendered html for the page against the specified parameters – in your case, any query string. When you click the link button causing a postback, it is essentially a form post to the same page i.e. same URL, same query string. So the OutputCache module is going to find a match and serve that back, skipping your Page life cycle. The postback, therefore will not be processed.

    What you can try is caching only GETs.

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

Sidebar

Related Questions

I am using Tidy (with PHP5) with UTF8 input, output, and char encoding enabled.
why, in the below aspx and code behind, when Output Caching is enabled programmatically
Is output buffering enabled by default in Python's interpreter for sys.stdout ? If the
When using a Silverlight-enabled WCF service, where is the best place to instantiate the
Summary: I have an ASP.NET MVC website in IIS named 'Website' using an AppPool
I am using CakePHP with Apache2. Analyzing my pages with the tool PageSpeed from
I have a weird condition that only appears on gcc -O0 -g output, not
I need to make a fork (depending on javascript enabled or not): <?xml version=1.0
I have caching enabled in my smarty and have assigned a date and time
I want to be able to delete some output buffer parts. So that considering

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.