use persistence data

at 1st install get flag value
<script>
// get value of flag!
if (flag == "1")
{ alert('user allready installed your app!') }
else {
// set flag = 1
dothis();
}
</script>
Do above with persistence data  (Read/Write ) e.g
This is my way to do! if there is other std way let me too know!

AJ wrote:
> Hi,
>
> I would like a function to be executed just the first time user
> instals my app. After it this function should not be executed whenever
> he runs the app. I will use this function to send some user details to
> be stored on my servers.
>
> How can I do this?
>
> Alex
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to