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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:06:51+00:00 2026-05-24T09:06:51+00:00

Just getting into ajax using MVC3. I am having weird behavior with IE8. The

  • 0

Just getting into ajax using MVC3. I am having weird behavior with IE8. The code in my view:

@Ajax.ActionLink("Get Latest Server Time",
             "ServerTime",
             new AjaxOptions() {UpdateTargetId = "serverTime",
                                InsertionMode = InsertionMode.InsertAfter,
                                HttpMethod = "GET",
                                LoadingElementId = "progress",
             });


<div id="serverTime">
</div>

<div id="progress">
    In Progress.....    
</div>

In IE8 it works perfectly the first time you click on the link (actionlink). The action link is just simply getting the sever time. Ever subsequent call it just uses the value you got from the sever originally (time) and doesn’t go back to the server. So if the first time you clicked the link it was 1:24:36 PM then even if you click the link 15 minutes later it will still display the same time.

I thought maybe it was my novice understanding of ajax but then i tried chrome & firefox and everything is working as expected. Maybe IE9 works correctly but i’m not sure because i’m running XP. Does anyone know whats going 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-24T09:06:52+00:00Added an answer on May 24, 2026 at 9:06 am

    IE in general caches get requests. It can be a real pain when debugging Ajax requests. The easiest method to fix your issue is to change HttpMethod = “GET” to HttpMethod = “POST”, you will just have to make sure your Action accepts posts.

    [HttpPost]
    public ActionResult ActionSetup()
    {//stuff here}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm getting into Ajax, obviously using Prototype, and just getting to the point of
I just started getting into BizTalk at work and would love to keep using
I'm just getting into creating some WCF services, but I have a requirement to
I am just getting into ibatis with SqlMap for the first time and I
I'm just getting into unit testing, and have written some short tests to check
I'm just getting into the practice of version control (I'd like to use Eclipse
My little brother is just getting into programming, and for his Science Fair project,
I'm just getting into ASP.NET Been avoiding it for years as I'm a desktop
I have just been getting into low level programming (reading/writing to memory that sort
I'm just getting back into C++ after a couple of years of doing a

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.