This script seems to work fine on a MAC and on Firefix etc on a PC EXEPT for ie7/8:
Once the user has logged out they are sill able to manually enter the url of the pages that require a login and access the contents of those pages.
The Script only kicks in fully when the page is refreshed. I'll explain more.
I have created a small dummy site with the following pages:
Index
Page1
Page2
Once the user has logged out (by clicking the logout button i created), they can still acess the contents of a page by entering the url of it (i.e - http://www.domainname.co.uk/page2.php etc...)
This is only occuring in Internet Explorer, if the user clicks a link on that page (rather than entering it manually) the script is fine, or if the user refreshed the page the login script appears.
Anyone know why this is happening (page caching?) and is there any way around it?
Any help would be appreciated...obviously.
regards.