In general, you should not be setting cookies in gadgets; due to the
immense back-end infrastructure used to serve and render gadgets,
setting and sending cookies is not necessarily a predictable or
reliable way of managing user state in OpenSocial apps. A better
technique involves sending the user authentication credentials in a
signed request to your back-end, validating the request to determine
whether it originated from your application, then validating the
credentials and returning the result.

If you're determined to use cookies, you should be able to send a
signed request to your back-end for a one-time token and then open an
IFrame to your site, passing the token with the IFrame's 'src' URL.
You can then set a cookie in this frame. But because orkut supports
signed requests, this is (generally) a much better route to take.

- Jason

On Sep 16, 10:24 pm, sb <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a signon form and on successful login sever sends PHPCookies
> and few other. The problem I am facing is on successful login the user
> instead of being redirected to his logged in page stilll remains in
> the non-logged in page, This is because the session cookie is not sent
> back to server and so client never shows up as logged in (to my site).
>
> Is there a way to store cookies sent by server and then send it back
> to server whenever new request is made from orkut application?
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to