Interesting.  I'm not really sure whether this should be part of the
spec or not, since the specification doesn't mention anything about
security tokens for gadgets (it's just an implementation detail).
I'll ask around a bit and see what a reasonable solution could be.

~Arne


On Mar 26, 10:31 pm, Chen Jie <chenyue...@gmail.com> wrote:
> I tried it again, yes it expired after an hour. Except reload the
> page, is there any method to avoid this issue?
>
> BTW, if I refresh the page with gadget opened in main canvas, Gmail
> will report error 'The requested gadget
> is invalid or has not been installed.', and can not load all gadgets.
>
> On Mar 27, 12:00 pm, Chen Jie <chenyue...@gmail.com> wrote:
>
> > BTW, iGoogle sandbox has the same issues.
>
> > On Mar 27, 11:44 am, Chen Jie <chenyue...@gmail.com> wrote:
>
> > > Thanks for your reply!
> > > I guess it was caused by page expired, the time is around 20-30mins as
> > > I experienced.
> > > But since Gmail seseeion is not expired, the gadget in gmail can not
> > > work is very annoying for users.
> > > What can I do if gadget session is invalid? can I retrieve(refresh)
> > > security token again?
>
> > > On Mar 27, 1:26 am, Arne Roomann-Kurrik <api.kur...@google.com> wrote:
>
> > > > Hi Chen,
>
> > > >   How long do you leave gmail for?  If it's over an hour, I believe
> > > > that the security token for the page expires and none of the gadget
> > > > calls will work.
> > > >   Do you think that this is what's happening?
>
> > > > ~Arne
>
> > > > On Mar 25, 7:24 am, Chen Jie <chenyue...@gmail.com> wrote:
>
> > > > > Hi, I created a gadget which is run in GmailI, and had a problem with
> > > > > gadgets.io.makeRequest method, I had post it in iGoogle developer
> > > > > group, but did not get an answer, so I re-post it in here for help.
>
> > > > > The original post is 
> > > > > in:http://groups.google.com/group/Google-Gadgets-API/browse_thread/threa...
>
> > > > > Notes this problem occurs in OSDA too.
>
> > > > > My gadget address 
> > > > > is:http://twittergadget.appspot.com/gadget/gadget-gmail.xml
> > > > > OSDA:http://osda.appspot.com/gadget/osda-gmail.xml
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to