close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Info not filling in

Thread began 7/27/2010 1:24 pm by twitchr377598 | Last modified 7/28/2010 2:46 pm by twitchr377598 | 722 views | 5 replies |

twitchr377598

Info not filling in

Hello Webassist Gurus,

After many failed attempts to add a remember me feature using the Security Assist wizard (I encountered log in problems when including this feature) I decided to leave that unchecked in the wizard. The generated pages (with password encryption) work great. I followed the Cookies solution recipe for adding the remember me feature. The log in still works, but checking the remember me checkbox doesn't do anything. When one goes back to the login.php page, the fields are not filled in.

I have attached the file for review.

Thanks in advance.

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

Eric Mittman

I can see a couple of things that you will need to do to get it working. The first thing you need to do is set a value for the remember checkbox. You will need to add in a value="the value" attribute to this form field. Once you do that you should then be triggering the store cookie server behaviors that check to see if this value was posted.

Next you will need to set the default value of the username and password fields to come from the cookies for them.

The final part is the order of the code, you will need to have the cookies that you have on lines 23-35 to be above the code that starts on line 4. With these three updates the remember me option should be working correctly.

Sign in to reply to this post

twitchr377598

Thanks for the reply, Eric. I appreciate it. Yea, after I posted this I finally took a breather from working and went run some errands. While out it hit me that I hadn't set a value for the checkbox...haha The order of the code would have taken me a while though. Thanks for the tips. I'll try them and get back with you.

Sign in to reply to this post

twitchr377598

That did the trick. Thanks again, Eric!

Sign in to reply to this post

Eric Mittman

Glad to hear it, sometimes taking a moment away from the code is just what you need to help you get a little perspective on the problem. It seems the longer and more intensely I focus on an issue the more frustrating it becomes and often taking a moment to get away from the problem can help to clear things up. Let us know if you have any other questions or if you run into any other issues.

Sign in to reply to this post

twitchr377598

I agree and thanks again. Great products and great support.

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