I am working on applying this to my site.
Has worked perfect.
But I have a problem.
I have put the code to display throughout the site.
I login, I update my profile. Everything was perfect.
But if I get disconnected while in my profile i get an error page... (Because when I press disconnect i was on the profile page, and to be disconnected, I do not have permissions to see it, of course).
How can I redirect this to the home page and in what part of the code should i put it?
The code is here,,,
Thanks in advance