Jim,

As far as I understand, TG 1.0 uses cookies to indicate that somebody
is logged in and authenticated.  You'd need to log in to get that
cookie, then include it on every subsequent request.

Maybe this would happen automatically because the server would reply
to a successful login with a set-cookie header.  Then as long as flex/
actionscript just automatically sent along that cookie, you're golden.

An alternative approach is to require that every GET or POST includes
a userID and password.  That approach is nice and stateless.

Matt


On Nov 25, 2:25 pm, Jim Steil <[EMAIL PROTECTED]> wrote:
> Hi
>
> I've been playing around with Flex using TG for my backend.  I'm trying
> to figure out how to do this and implement authentication on my HTTP
> calls to my TG methods.  Is anyone else doing this?  Has anyone found
> any samples on the web?  I've gone through the Bruce Eckel / James Ward
> examples, but they don't include anything about authentication.
>
>     -Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to