Please see my reply to your post here: http://groups.google.com/group/opensocial-orkut/browse_thread/thread/508210f5490b0794/7af6bcc7976ddc46#7af6bcc7976ddc46
Until the REST-based API is available, you shouldn't structure your application this way. You should implement all of your logic in JavaScript and, if you need information from a database, etc., send a signed request from the client, which you can verify on your back-end to determine the identity of the user. The current OpenSocial API is entirely client-side and it's very difficult to shoehorn into the server-side programming model that you're trying to use. If you have any specific questions on how you should structure your application, at least until the REST-based API is available, please feel free to ask. In the meantime, the OpenSocial tutorial might be helpful, if you haven't seen it already: http://code.google.com/apis/opensocial/articles/tutorial/tutorial-0.7.html - Jason On Jun 23, 6:26 am, krishna chaitanya <[EMAIL PROTECTED]> wrote: > Hi All > > I am new to Web App Devlopement. Need Help on following requirement. > > I am calling a PHP page from orkut application. The php page is > creating a new session for every page request. Suppose If I save some > info in php session when first page is called I am not able to access > it > when I called it for the second time. So I am forced to send the > user_id and user_name to every php again and again. > > Is there any workaround for this? How can we retain the session on > server side. > > I have multiple tabs in the app. Every tab will have an iframe which > will have src as a differnt ph page link. So whenever tab is switched > a new php call is made and that call is creating a new session. > > I am very sorry if this is a very silly question. But I spent a lot of > time on this. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---