close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Clear Sessions not logging out users

Thread began 4/27/2009 2:30 pm by Travis250923 | Last modified 8/26/2009 7:49 am by Ray Borduin | 9021 views | 12 replies |

Travis250923

Clear Sessions not logging out users

Clear sessions not working. I set it to clear all but it doesn't log me out. I used SecurityAssist to create the log in information. The behavior has bee applied to the LogOut page and the trigger is set to before page load.

Sign in to reply to this post

Ray BorduinWebAssist

It must not be clearing them for some reason. If your session is cleared you will be logged out.

Sign in to reply to this post
Did this help? Tips are appreciated...

Travis250923

That's obvious. :) I was hoping for some direction as to why it wouldn't clear the session. I'll enter a support ticket. Thanks

Sign in to reply to this post

Ray BorduinWebAssist

You could post the code you are using to clear the session and describe the page and context it is being used in and I might be able to give more information. Without details to go on it is hard to give details in a response.

Sign in to reply to this post
Did this help? Tips are appreciated...

Travis250923

Here is the code generated by Cookies Toolkit.

<?php
if ("" == ""){
// WA_ClearSession
$clearAll = TRUE;
$clearThese = explode(",","");
if($clearAll){
foreach ($_SESSION as $key => $value){
unset($_SESSION[$key]);
}
}
else{
foreach($clearThese as $value){
unset($_SESSION[$value]);
}
}
}
?>

Sign in to reply to this post

Ray BorduinWebAssist

What page is it on? Maybe it needs a session_start on top of the page so it can clear it properly?

Sign in to reply to this post
Did this help? Tips are appreciated...

Travis250923

It is on the visitor_LogOut page and at the top of the page I added a session start but it didn't change it

Sign in to reply to this post

Ray BorduinWebAssist

Did you post a support incident? What is your incident number? Somebody will have to help you debug this, I don't see why it wouldn't work.

Sign in to reply to this post
Did this help? Tips are appreciated...

Travis250923

I haven't yet but will. Thanks

Sign in to reply to this post

B Tonkin

Same Issue

I'm experiencing the same issue with my web site in that when the Log Out page is accessed it should be clearing the session, but doesn't. Same code as above, but with the session_start. It's Out-of-the-box code / I haven't touched it. Any thoughts on why it doesn't work?

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...