close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Creating a Log Out Page

Thread began 4/29/2011 4:49 pm by mora398588 | Last modified 6/03/2011 9:32 am by CraigR | 1149 views | 7 replies |

mora398588

Creating a Log Out Page

Is it possible to create a log out page using SA?

Currently, I am using WebAssist's User Registration Administrative Back-end. The Admin back-end did not come with a users_LogOut file or option. I would like to create one that will destroy the Admin User Session.

Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

The logout page is created using the Clear Session Variable behavior of Cookies Toolkit.

Go to the Server behaviors panel, click the plus button and select Clear Session Values. set the trigger to before page load, and set it to clear all variables.

Sign in to reply to this post

mora398588

Thank you, Jason.

However, I do not own the Cookies Toolkit.

Sign in to reply to this post

Jason ByrnesWebAssist

Cookies toolkit comes with Security Assist.

if you own Security Assist, you also own Cookies Toolkit.

Sign in to reply to this post

mora398588

Oh. I am sorry about that. I found the Cookies Toolkit.

I followed your directions and when I tested the LogOut function, it did not clear out the session. Instead, it redirected me to the LogIn page. In addition, the show region on the login page (outlining that the session is still active) was showing.

To give you some background info...I made sure that the page access rules were correct. The page access is redirecting to the Admin/users_LogIn file in case their is an access error.

I have attached my logout file for your review. Please let me know if you need anything further from me.

Attached Files
users_LogOut.zip
Sign in to reply to this post

Jason ByrnesWebAssist

make sure the code to clear the session is before the page access rule.

the page access rule is redirecting to the login page before the clear session code has the chance to run.

Sign in to reply to this post

CraigRBeta Tester

Can't find cookies toolkit

I created login/register information using security assist wizard.

My logout form doesn't work by default., (should it ?)

I now realise that I need to use a cookies toolkit server behavior to clear session values, but when I click on Server Behaviors and try to add it, I can't find it.

Do I need to install cookies toolkit as a separate extension ?

Sign in to reply to this post

CraigRBeta Tester

Ok, It's been a long day.

I think I answered my own question.

Sign in to reply to this post

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...