I have tried the guide Jason wrote under thread: showthread.php?p=85979
This does not work for me! I have checked carefully that that the session code is before the page access rule code.
I have enclosed the code for my login/logout page. I use swedish language in my site but that has nothing to do with the php code. Hope someone can help me with this problem.