close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


EmailPW and "Remember Me" issues (Newbie Question!!)

Thread began 11/03/2009 8:01 am by Douglas Fox | Last modified 11/04/2009 5:55 am by Office Guy-172461 | 2698 views | 6 replies |

Douglas Fox

EmailPW and "Remember Me" issues (Newbie Question!!)

Hello Everyone...

I apologize for how basic this is going to sound. I'm very much a newbie when it comes to any sort of dynamic web site. I purchased Security Assist this week and have already got my website user registration system up and running, so I'm pretty excited about where SA has gotten me so far. The site is

Here's two small problems I'm having:

1) My email password page doesn't send the email (although it goes to the success page!). I know that I'm not receiving the email (i.e. not in junk mail). I've tried Mail For Windows, Mail for Linux, putting in the SMTP server, omitting it, I've changed the port number to the appropriate one for my outgoing mail server. I don't know what else to try. Any thoughts?

2) I can't get the "Remember me" option to work quite how I want it to. I didn't want the password to show up, just the login. I've been able to get rid of the password, and the "Remember Me" check box stays checked, but I've never been able to get the login to stay in the login box!!! Simple, I'm sure, but I'm struggling!! :)

Any help would really be appreciated.


Security Assist Newbie

Sign in to reply to this post

Office Guy-172461

For the first question, you need to know whether your web server is running Linux or Windows and use the appropriate setting.

Maybe this article will help with your second question:

Cookies for remember "Login" details

You can delete the password section if you want.

Sign in to reply to this post

Douglas Fox

Still not working

I'm sure I'm missing something, but I can't seem to find where I'm going wrong. Here's the code that I have:

if (!isset($_SESSION)) {
?><?php require_once('Connections/iSPAN_Visitors.php');?>
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?><?php
if ((((isset($_POST["autologinoption"]))?$_POST["autologinoption"]:"") != "")) {
setcookie("AutoLoginPWD", "".((isset($_POST["userpassword"]))?$_POST["userpassword"]:"") ."", time()+(60*60*24*30), "/", "", 0);
if ((((isset($_POST["autologinoption"]))?$_POST["autologinoption"]:"") != "")) {
setcookie("AutoLoginUN", "".((isset($_POST["username"]))?$_POST["username"]:"") ."", time()+(60*60*24*30), "/", "", 0);
if ((((isset($_POST["remembermeoption"]))?$_POST["remembermeoption"]:"") != "")) {
setcookie("RememberMeUN", "".((isset($_POST["username"]))?$_POST["username"]:"") ."", time()+(60*60*24*30), "/", "", 0);
$WA_Auth_Parameter = array(
"connection" => $iSPAN_Visitors,
"database" => $database_iSPAN_Visitors,
"tableName" => "visitors",
"columns" => explode($WA_Auth_Separator,"visitorEmail".$WA_Auth_Separator."visitorPassword"),
"columnValues" => explode($WA_Auth_Separator,"".((isset($_POST["username"]))?$_POST["username"]:"") ."".$WA_Auth_Separator."".((isset($_POST["userpassword"]))?$_POST["userpassword"]:"") .""),
"columnTypes" => explode($WA_Auth_Separator,"text".$WA_Auth_Separator."text"),
"sessionColumns" => explode($WA_Auth_Separator,"visitorID"),
"sessionNames" => explode($WA_Auth_Separator,"visitorID"),
"successRedirect" => "login_successful.php",
"failRedirect" => "visitors_LogInAgain.php",
"gotoPreviousURL" => TRUE,
"keepQueryString" => TRUE


But if you were to go to the site ( it only remembers the password. Yet I'm not even including code for setting the password (am I???).

Sign in to reply to this post

Eric Mittman

When I tested this out I was not able to login with the user I registered. Based on what you have here if you have the remember me checkbox checked it should store the username in a cookie. The username field should have it's value set to this cookie if the cookie is set.

The auto login cookies should only be used by the auto login User Authentication server behavior.

If you have already populated the other cookies you will need to clear out your cookies, at least for this site, to see how they are working by default.

If your password is being prepopulated this is probably due to a browser setting.

Sign in to reply to this post

Douglas Fox

you couldn't login?

We're you able to login with the registered username eventually? I've double checked the site and I'm able to login!! Or do you mean login in with the Remember me?

I noticed that there was two logins from WA created, one had a "." in it before the '@' and the other didn't!!

With regard to the Remember Me option, I don't have any preferences in my IE that make the password show up in login forms in any other site. This is truly unique to this site built with SA. I had tried clearing the cookie for the site on several different tries, but I'm still getting the same behaviour. Not sure why the password is showing up and not the username!!

I will try and rebuild the login page and see if the issue resolves itself. I'll keep you posted.

Sign in to reply to this post

Douglas Fox


I think I've got it solved!! A little embarassing really... while I had removed the Remember Me php code for the password, I had left the initial value code for the input field. Further, I didn't have the initial value code for the username field!!

Took me a while... but I think it's working great now.

Now on to new challenges (for me anyway!). Have to learn how to sign out and how to create the "Welcome 'User'" in the side bar!!!

Wish me luck! Thank you all for your help.

Sign in to reply to this post

Office Guy-172461

Originally Said By: Douglas Fox
  Have to learn how to sign out and how to create the "Welcome 'User'" in the side bar!!!.  

Have a look here for the welcome:

See this thread for the logout:

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





Ease of use


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