3 messages in com.googlegroups.google-calendar-help-dataapiUnnecessarily assigned new gsessionid...
FromSent OnAttachments
Peter20 Jun 2008 17:22 
Ray Baxter20 Jun 2008 21:49 
Peter24 Jun 2008 22:57 
Subject:Unnecessarily assigned new gsessionid (using ruby)
From:Peter (pete@gmail.com)
Date:06/20/2008 05:22:07 PM
List:com.googlegroups.google-calendar-help-dataapi

I'm trying to use ruby to access my private calendar feed by adapting Jochen Hartmenn's ruby code for interacting with the google spreadsheets api:

http://code.google.com/support/bin/answer.py?answer=93164&topic=12027

Using his get_feed method, I get a "302 Redirect" response when I try to access my calendar's private feed. The following article suggests that I just need to keep track of the given gsessionid and use it as a parameter in subsequent requests:

http://code.google.com/support/bin/answer.py?answer=55833&topic=10360

However, when I use the response's url with a gsessionid for a subsequent request, I receive another 302 response redirecting me to a url with a different gsessionid. Why am I being assigned a new gsessionid?

My code is pasted here: http://pastie.org/219266. Any ideas would be greatly appreciated.

Thanks,