What I'm expecting: user visits the page, if they don't have the mytag1 tag, it gets assigned to them. If they refresh the page, or go back to the page - the page indicates that they have the tag, without having to log out and log back in.
What's happening: user visits the page, if they don't have the mytag1 tag I can see it gets assigned (in the perch members admin page detail listing) - but the session variable doesn't appear to be updated until the user logs out and logs back in.
What I think is happening: the member session variables aren't being updated.
Just want to make sure I understand the behaviour. I've simplified my issue, when I plan to do will be a tad more complex (for that that care, the page tracks how long a visitor watches a video, if they watch enough they get a tag assigned to them that they completed watching the video).
I discovered my issue.
needs to be at the top of the page before the headers.