close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Remember and Auto-Login

Thread began 6/25/2013 1:18 pm by Cologne | Last modified 7/09/2013 2:52 pm by Cologne | 1784 views | 7 replies |

Cologne

Remember and Auto-Login

Hi,
can please somebody explain how to create Remember Username and Password, and more important this AUTOLOGIN like created in the wizard.
I dont like the wizard, so please, can anyone explain it?
Thanks for help!
Cheers,
Denis

Sign in to reply to this post

Jason ByrnesWebAssist

use a wizard created page as an example.

the basic gist is to add the checkbox for remember me and auto log in, set the checked value to 1 for each.

add set cookie behaviors to store the entered Username, Password, and Remember Me values using the remember me element as the trigger. ad another set cookie behavior to store the auto login value as a cookie using the auto login checkbox as a trigger.

then add another Authenticate user behavior using the auto login as the trigger, and use the Username and password cookies as the login values.

If you look at a login page created by the wizard for reference, it will make more sense.

Sign in to reply to this post

Cologne

Hi Jason,
thats a beginning. The code from the wizzard was a little bit too much.
No that I know how it is put into the page, I can try to create it on my own.
The most important is to create 3 cookie sorings and 2 user identifications.

1. store username/password
2. store the remember checkbox
3. store the autologin checkbox

I give it a try.
Cheers
Denis

Sign in to reply to this post

Cologne

Hi Jason,
what, if I want to do it like facebook.de they only got one checkbox.
Do I have to store everything in one cookie?

Sign in to reply to this post

Jason ByrnesWebAssist

no, still use the separate cookies, just leave out the remember me cookie, trigger the cookie storage for all values on the auto login option and trigger the auto login authenticate user behavior on the auto login cookie.

Sign in to reply to this post

Cologne

Hi Jason,
I made it work.
Got to fix some things.
If I set the autologin it is nessecary to use the right login data. if not, on the failed page you need to delete the stored wrong cookies.
And, you also need to create a reCHECK the auto login if the user dont want it anymore.
So i decided just to keep the remember me check box.

I think, the biggest problem is the storing of the password on the machine.

- when i used the autologin i sored the password cryped to the cookie and dont use an crypting in the authentification.

- with the remember me checkbox I need to store the password encryped to the machine, thats dangerous.

thanks so much to help me understand that thing.
Cheers,
Denis

Sign in to reply to this post

Jason ByrnesWebAssist

well ,storing the encrypted password in the cookie is safer than storing the un encrypted password.

if you are using one of the 2 way encryption methods, they would need to know the salt value in order to decrypt the cookie.

using SHA1, that is a one way encryption method so cannot be decrypted.

Sign in to reply to this post

Cologne

I use crypt with the Salt störend in that WA folder

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