Get your own customer support community
 

is there a cookie or some on page variable set when a user is logged in?

I have some custom HTML and CSS at the top of my socialgo site which contains a link to the offsite login and registration (we use the API and our main site to process logins and registrations).

What I want to do is change this HTML based on whether a user is logged in or not. I see no reason why I can't do this with javascript, but is there a cookie or some on page variable that is set when someone is logged in that I can test with.

To see what I mean look at http://hownow.socialgo.com , I want the login - register link to appear with edit profile - logout when someone is logged in.

I see that there's some discussion of a javascript API here http://getsatisfaction.com/socialgo/t... which would be useful but really overkill for my purposes.
Inappropriate?
1 person has this question

User_default_medium