Nice! Thanks for your answer, it will help a lot.
On 11 jun, 01:50, "RAJA SEKHAR" <[EMAIL PROTECTED]> wrote:
> HI
> *var ts = new Date().getTime();
> var sep = "?";*
> *var url=appPageURL+'/Registration';
> var refreshInterval=0;
> if (refreshInterval && refreshInterval > 0)
> {
> ts = Math.floor(ts / (refreshInterval * 1000));
> }
> if (url.indexOf("?") > -1)
> {
> sep = "&";
> }
> url = [ url, sep, "nocache=", ts ].join("");
> gadgets.io.makeRequest(url,
> function(response)
> {
> if(typeof(response.text) != 'undefined' && response.text!="")
> {
> var res=eval('('+response.text+')');
> if(res.Result=='true')
> {
> getResultPage();
> }
> else
> {
> var bol=isOwner();
> if(bol==true)
> {
> var url="**www.google.com*<http://www.google.com/>*";
> var refreshInterval=0;
> if (refreshInterval && refreshInterval > 0)
> {
> ts = Math.floor(ts / (refreshInterval * 1000));
> }
> if (url.indexOf("?") > -1)
> {
> sep = "&";
> }
> url = [ url, sep, "nocache=", ts ].join("");
> gadgets.io.makeRequest(url,
> function(response)
> {*
>
> * },params);
>
> *
> *use this code for every http requst *
> **
> *Thans*
> *RajaSekhar.*
> On Wed, Jun 11, 2008 at 7:44 AM, Ricardo <[EMAIL PROTECTED]>
> wrote:
>
>
>
>
>
> > How do you use the timestamp?
> > Thanks!
>
> > On 9 jun, 03:32, "RAJA SEKHAR" <[EMAIL PROTECTED]> wrote:
> > > Hi KM,
> > > I canged my browser settings also not to cache js file .and it is not
> > > working .
>
> > > but for every HTTP request i am ading the timestamp .Now it is working
> > fine
> > > Thank you for fast reply.
> > > RajaSekhar.V
>
> > > On Mon, Jun 9, 2008 at 11:58 AM, Kumar Majethia <
> > [EMAIL PROTECTED]>
> > > wrote:
>
> > > > Hi Raja,
>
> > > > Is it possible that your browser cached your js file? Just a
> > possibility…
>
> > > > KM
>
> > > > ------------------------------
>
> > > > *From:* [email protected] [mailto:
> > > > [EMAIL PROTECTED] *On Behalf Of *RAJA SEKHAR
> > > > *Sent:* Monday, June 09, 2008 10:51 AM
> > > > *To:* [email protected]
> > > > *Subject:* [OpenSocial] Re: The refresh of the files in the orkut
> > server
> > > > is too late
>
> > > > even for bpc=1 is also not working for me.This is a very big problem
> > for
> > > > me.
>
> > > > how can i get my updates on js file
>
> > > > Thanks
>
> > > > Raja
>
> > > > On Sat, Jun 7, 2008 at 9:19 PM, Ricardo <
> > [EMAIL PROTECTED]>
> > > > wrote:
>
> > > > This worked! Thank you very much.
>
> > > > On 6 jun, 10:20, Ricardo <[EMAIL PROTECTED]> wrote:
> > > > > Thanks. I'll try that.
>
> > > > > On 6 jun, 02:06, prafulla <[EMAIL PROTECTED]> wrote:
>
> > > > > > Hi Ricardo,
>
> > > > > > Try appending &bpc=1 to the sandbox url of the application that you
> > > > > > are trying to view.
> > > > > > This parameter will enable you to bypass cache. The url would now
> > look
> > > > > > like:
>
> >http://sandbox.orkut.com/Application.aspx?uid=xxxxxxxxxxxx&appId=xxxx.
> > > > ..
>
> > > > > > Regards,
> > > > > > Prafulla
>
> > > > > > On Jun 6, 6:49 am, Ricardo <[EMAIL PROTECTED]> wrote:
>
> > > > > > > I'm updating the xml file of the gadget and the orkut sandbox
> > isn't
> > > > > > > showing the updates. Is there something that we can do?
> > > > > > > Thanks.
>
> > > > --
> > > > RajaSekhar
>
> > > --
> > > RajaSekhar
>
> --
> RajaSekhar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenSocial Application Development" 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/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---