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

I am using a jquery calendar called fullcalendar. When a user clicks a day
I want to show events using the JQuery fullcalendar plugin (version 1.5.2). The JSON
I am using jquery calendar used with Google calednar http://arshaw.com/fullcalendar It shows the events
I am currently using the FullCalendar JQuery module to allow a user to create
can somebody tell me how to populate jquery fullcalendar events using ajax. There is
I'm trying to use FullCalendar to display my events from a JSON feed. It's
I'm using the jquery fullcalendar, and gave it events: '/calendar/1' to call the events
I'm using the fullCalendar jQuery plugin and it has options for adding events to
I'm currently using the jQuery fullcalendar plugin but I've came across an issue regarding
Using jQuery, what's the best way to find the next form element on 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.