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@...
>
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
_______________________________________________
Html_ajax-devel mailing list
Html_ajax-devel@...
http://lists.bluga.net/mailman/listinfo/html_ajax-devel