I am having an issue with a non-super admin logged in as a member logging out…when they do so the session id still remains in the url and they “are” still logged in. Is there a way to clear the session id on logout?
I have the following settings in the admin:
Admin > System Preferences > Security and Session Preferences
User Session Type: Session ID only.
Here’s my template code:
<h1>
<a href="http://{homepage}id=logo">Website name_ <!--/img/logo.png-->_ </a>
</h1>
{!--{if logged_in}
<ul id="home-btn">
<li><a href="http://{homepage}">Back to home</a></li>
</ul>
{/if}--}
<ul id="main-nav">
{if logged_in}
{exp:member:custom_profile_data}
<li><a href="http://">Welcome, {name}</a></li>
<li> |</li>
<li><a href="http://{path=access/}">Sign-out</a></li>
<li>|</li>
{/exp:member:custom_profile_data}
{/if}
{if logged_out}
<li><a href="/access/register/%22class=%22active" title="Register" class="active">Register</a></li>
{/if}
{if segment_1 !='access'}
<li>|</li>
<li><a href="http://{site_url}/contact?iframe%22class=%22zoom" class="zoom">Comments + Questions</a></li>
{/if}
</ul>