> [if session logged_in] should work reliably for me and does in fact for > me and probably for almost all users. There is something wrong in your > setup/code. Nothing more to add.