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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:42:50+00:00 2026-05-17T19:42:50+00:00

I am using jQuery fullcalendar with Grails. I was using events (as a json

  • 0

I am using jQuery fullcalendar with Grails. I was using events (as a json feed) earlier and when the user clicks prev/next or changes views the json feed URL is called every time.

Since I need to check the user session also, I changed from events (as a json feed) to events (as function) as shown below. The problem is first time it works, but next time onwards the ajax request is not being send to the server and IE is showing from the cache. If I clear the browser cache, then it gets it again from the server.

So the problem is, IE is caching the event objects. Can I know what I am doing wrong? Strangely this works fines in Firefox and Chrome.

//events: calendarEventsURL            
        events: function(start, end, callback) {
            $.ajax({
                url: calendarEventsURL,
                data: {
                    start: Math.round(start.getTime() / 1000),
                    end: Math.round(end.getTime() / 1000)
                },
                success: function(msg) {
                    if(msg == "no-session"){                    
                        $("#wait").html(invalidSessionMsg).fadeIn('fast',function(){
                            $("#wait").fadeOut(2000,function(){
                                window.location= "/" + $("#appName").val() + "/";
                            });    
                        });                    
                    } else {
                        var events = [];
                        for(var c = 0; c < msg.length; c++){
                            events.push({
                                id: msg[c].id,                                
                                title: msg[c].title,
                                allDay: false,
                                start: msg[c].start,
                                end: msg[c].end
                            });
                        }
                        callback(events);
                  } 
                } , error: function(){                                  
                      $("#wait").html(errorMsg).fadeIn('fast',function(){
                    });    
                  }
            });
        }
  • 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-17T19:42:50+00:00Added an answer on May 17, 2026 at 7:42 pm

    Try setting cache property to false:

    //events: calendarEventsURL            
            events: function(start, end, callback) {
                $.ajax({
                    cache: false,
                    url: calendarEventsURL,
                    data: {
                        start: Math.round(start.getTime() / 1000),
                        end: Math.round(end.getTime() / 1000)
                    },
                    success: function(msg) {
                        if(msg == "no-session"){                    
                            $("#wait").html(invalidSessionMsg).fadeIn('fast',function(){
                                $("#wait").fadeOut(2000,function(){
                                    window.location= "/" + $("#appName").val() + "/";
                                });    
                            });                    
                        } else {
                            var events = [];
                            for(var c = 0; c < msg.length; c++){
                                events.push({
                                    id: msg[c].id,                                
                                    title: msg[c].title,
                                    allDay: false,
                                    start: msg[c].start,
                                    end: msg[c].end
                                });
                            }
                            callback(events);
                      } 
                    } , error: function(){                                  
                          $("#wait").html(errorMsg).fadeIn('fast',function(){
                        });    
                      }
                });
            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

can somebody tell me how to populate jquery fullcalendar events using ajax. There is
I am using jquery and fullcalendar to schedule activities. When users select a timeslot,
I am using a JQuery plugin to render a calendar ( http://arshaw.com/fullcalendar/ ). Problem
I am wrestling with figuring out how to open a FullCalendar event URL in
I'm using the Jquery full calendar plugin, and i want to be able to
So I am trying to use FullCalendar and jQuery UI dialog box. And i'm
I am doing a little app with JQuery, using drag-n-drop for the interface. Basically,
Using jQuery's UI Tabs. This is my code. <div id=tabs> <ul> <li><a href=#tabs-1>Find a
Using JQuery, how do I select all elements with class x within an element
I am working with the FullCalendar module (great, btw) and I'm having trouble populating

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.