Sigh... hours I've been at this problem. In fact, several days on and off!
What exactly is that doing then? Obviously it's starting a session, but I assumed one already existed from when the user logged in.
If I have more than one active session, do I need more than one @session_start?