Sanjay, Actually, sessions with makeRequest is a bit different from a regular site.
For example, when building a regular site, the browser stores received cookies and send them back in the next request, automatically. With makeRequest, there is no such storage, so you have to do it manually. Also, the cookies your server responded to Orkut server (which is responsible for contacting your server) are completely ignored in the response the API provide us. So, I think you would have two options: 1) Include a "token" value in your first response json. Then you would send this "token" in each request, which would be used to find the session; 2) Use the "opensocial_viewer_id" parameter as the session identifier. What do you think about it? On 8 maio, 08:52, Sanjay <[email protected]> wrote: > Hi, > > I am issuing two makeRequest calls in series. In the first makeRequest > call, in the server side I am saving some data in session variables. > In the second makeRequest call, I am trying to fetch the saved data. > > But the second makeRequest call does not find the session variables. > Does it mean that each makeRequest executes in a different session? > > thanks, > Sanjay --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" 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-orkut?hl=en -~----------~----~----~----~------~----~------~--~---

