How to check if a user is logged_in in a Drupal site via JavaScript?
Asked 2012-04-16T22:35:24.193
9
I know how to check if the user is logged in through PHP, but I need to do some styling when an event occurs, and I created a separate JavaScript file for this. Is this a Drupal variable or something which I can reference too?