On Jan 19, 9:41 am, shai <[email protected]> wrote: > Hello, > I'm writing an igoogle gadget that's supposed to manage a group > calendar. > My problem is that when I try to create or access this calendar I get > an error saying that "the document has moved" and offering a link to > the new location. I tried parsing it and using the new location as a > url for another data request, but that also fails. > Is the move really temporary, and I can just ignore this relocation? > Or is there a way I can get the new location and use it? > > Thanks, > Shai
Hi Shai, The move is "temporary" in the sense that the redirect link can (and does) change between requests. However, you will always receive a redirect if you don't have a gsessionid query parameter or a session cookie (both are provided by the server during the redirect). You can not ignore the redirect, as attempting to do so will just cause you to receive another redirect response. However, after following the redirect, you shouldn't receive a second redirect. Can you check to make sure that you're not doing anything that would alter the URL after the redirect? In particular, you need to make sure that the gsessionid query parameter (or cookie) exists after the redirect. -- Trevor Johns --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
