Hey Prashant, thanks for the reply. My problem is this:
(I'll be happy to know if there is a solution for this)


I have an Orkut application, that sends/recieves data to a server that
runs on my computer.
but, the orkut application also runs an applet (opening it in a simple
Iframe). This applet also talks to this server
(but of course requests coming from the applet are treated with
another class then the ones coming from the orkut app).
this applet (that the orkut application runs) and the orkut app
"itself" runs of course on the same computer
of a certain user that loged in to the application.


Now, when my server gets requests from the applet and from the orkut
app it self -
I NEED TO KNOW IF THEY ARE FROM THE SAME COMPUTER/USER....

that is, if a second user logged in my orkut app, and HIS applet now
requests information from my server
I need to know that this is not the applet of the first user that
logged into my application.

because the applet and the orkut app run on the same computer, I could
easily do that if I
could get the IP address of the user that logged into my Orkut app
(the IP of the applet is easy..)


Hope I made my self clear - what I need is to make sure the the
request that was now recieved from
a certain applet, and the request that was made from the orkut app,
that were both made from the same user -
I need to know it some how !!!
(and I thought simply to compare IP addresses..(


Thanks :)














On 31 דצמבר 2008, 15:37, "Mayur somani" <somani.ma...@gmail.com>
wrote:
> Hey Prashant,
>
> Is there any way to get profile information of the visitors in an orkut app?
> Please help if you can...
>
> Thanks.
>
> On Wed, Dec 31, 2008 at 7:04 PM, Prashant Patil­ <
>
>
>
> prashantpandurangpa...@gmail.com> wrote:
> > Hi above disclosing viewers IP address is not allowed as per privacy policy
> > of google.
> > [as per my know how! ] So if you want to keep trace of visitors / app user
> > you can use any online counters or own made php counter inside 1x1 size
> > iframe.
> > e.g
> > <iframe src="www.orkutfans.com/tarceusers.php" width="1"
> > height="1"></iframe>
> > inside your  app! xml!
>
> > On Wed, Dec 31, 2008 at 7:00 PM, Kogan <kog...@gmail.com> wrote:
>
> >> Hello,
> >> I have a small problem which seems simple but I couldn't get it to
> >> work.
> >> I need to get my the application's viewer IP address.
> >> (the user who is currently using my application)
>
> >> obviously I guess it should go inside the <javascript> tags, but
> >> things I tried simply didn't
> >> work and the application didn't do anything. For example I tried
> >> something like that -
>
> >> var Inet = Packages.java.net.InetAddress
>
> >>  var ip = Inet.getLocalHost();
> >>  var ipStr = new java.lang.String(ip.getHostAddress());
>
> >> and it didn'r work for some reason though I found it in a good forum
> >> in google..
> >> (maybe I tested it incorrectly on Orkut)
>
> >> Does anybody have a working piece of code?
> >> Is that even possible in an Orkut application ?
> >> it's the last stage and then my application will be ready for work! :)
>
> >> Thank you,
> >> Kogan.
>
> > --
> > With best Regards.
> > Prashant aka Orkuteer
> >http://en.blog.orkut.com/2007/11/thanks-from-orkuteer.html-הסתר טקסט מצוטט-
>
> -הראה טקסט מצוטט-




On 31 דצמבר 2008, 15:36, "Prashant Patil­"
<prashantpandurangpa...@gmail.com> wrote:
> And let me know for what purpose you need to display IP so will help you
> more for the same!
>
>
>
>
>
> On Wed, Dec 31, 2008 at 7:00 PM, Kogan <kog...@gmail.com> wrote:
>
> > Hello,
> > I have a small problem which seems simple but I couldn't get it to
> > work.
> > I need to get my the application's viewer IP address.
> > (the user who is currently using my application)
>
> > obviously I guess it should go inside the <javascript> tags, but
> > things I tried simply didn't
> > work and the application didn't do anything. For example I tried
> > something like that -
>
> > var Inet = Packages.java.net.InetAddress
>
> >  var ip = Inet.getLocalHost();
> >  var ipStr = new java.lang.String(ip.getHostAddress());
>
> > and it didn'r work for some reason though I found it in a good forum
> > in google..
> > (maybe I tested it incorrectly on Orkut)
>
> > Does anybody have a working piece of code?
> > Is that even possible in an Orkut application ?
> > it's the last stage and then my application will be ready for work! :)
>
> > Thank you,
> > Kogan.
>
> --
> With best Regards.
> Prashant aka 
> Orkuteerhttp://en.blog.orkut.com/2007/11/thanks-from-orkuteer.html-הסתר טקסט 
> מצוטט-
>
> -הראה טקסט מצוטט-
--~--~---------~--~----~------------~-------~--~----~
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