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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:51:15+00:00 2026-05-27T03:51:15+00:00

since I’m trying to solve this problem for some days, I thought about giving

  • 0

since I’m trying to solve this problem for some days, I thought about giving you guys a chance. The situation:

We’re running a SAP Shop with Java Server Pages and Struts in background. We had to disable the HTML Header setable Cache with:

response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Expires", "0");

Now what I want to do seemed to us as a simple task but turned out to be more scientific than we expected.

We want to turn auto-complete for IE back on just for the login page. What I and my colleague tried were simple approaches like resetting the header values to various “should be caching” values like ‘public’ with expirens tomorrow or sth. Neither did anything give us that auto-complete boxes in IE6 and up.

So does anyone know a method for JUST ONE PAGE in a Struts system to turn the caching & as we think the autocomplete back on?

  • 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-27T03:51:16+00:00Added an answer on May 27, 2026 at 3:51 am

    Okay by now I found the answer myself. It seems easier when you talk about it, does it?

    So the problem was, that we used a javascript function to submit our login form site. But that’s not how you should do it (say’s microsoft). I heard a techcast some minutes ago about the internet explorer relying on suspicious buttons for implemented browser functionality.

    Having heard that the answer was kind of clear in my head. I head to submit over a button. Since we (HAVE TO!) use Javascript to submit, cause the button is only a styled div, I had to call a button click to show IE that we do a ‘official’ postback.

    That’s the code:

    function submitLoginForm()
    {
        var hiddenSubmitBtn = document.getElementById("hiddenSubmitButton");
        if(hiddenSubmitBtn.click) {
            hiddenSubmitBtn.click();
        } else {
            document.loginform.submit();
        }
        return false;
    }
    

    It now works fine.

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

Sidebar

Related Questions

since they have same rendering engine, this problem shows in both. it works great
since this morning I keep getting this error when trying to launch my MVC
Since I am new to using Unity 2.0, I need some pointer or suggestion
Since I started working with JS, I've thought the only way to invoke a
Since Knockout's individual templates are kept in script tags, I thought that I could
Since I started this new webshop for a friend to launch, which still in
Since I'm running my app on the Bamboo stack I'm precompiling my assets and
Since I've known about Node.js, I've always been a fan of it. But today
Since hours I am working on a very hard problem: How is a DataGrid
Since this morning my local install of EE 1.6.8 is failing to load the

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.