[HTML_AJAX-devel] Authentication on the server side
Joshua Eichorn
josh at bluga.net
Mon Aug 25 23:25:34 MST 2008
David Sanders wrote:
> Probably is a dumb question but I still don't really understand the workings of HTML_AJAX:
>
> Is there any way to attach a session cookie to the client side so that I may wrap my server call with PEAR::Auth?
>
> Dave
> _______________________________________________
> Html_ajax-devel mailing list
> Html_ajax-devel at lists.bluga.net
> http://lists.bluga.net/mailman/listinfo/html_ajax-devel
>
All the page cookies are sent on the ajax request. So once you login
you can track things with the standard cookies.
You can enforce the auth in the registered methods or at the top of the
server file or whatever your ajax entry point is.
-josh
More information about the Html_ajax-devel
mailing list