I am heavily customizing the comment post form, and want to ensure that the user is authenticated prior to submitting the post (I am hiding the "Name", "Email" "SiteUrl" additional fields via JQuery). I am wiring up gritter
notifications to the results of the check.
firefox, there's no problem with this approach. But I can't control whether that cookie is set server-side as http only...nor would i want to either, I suppose.
Is there a way to verify user authentication via an ajax request and then wire the callback result accordingly rather than reading a cookie?
If not, is there a way to downrender some hidden input that contains "true" or "false" as to whether the user is authenticated?
If none of these options seem pleasing to the platform designers, I am all ears to another approach.