Security Assist Bug?
Hello Webassist gurus,
I used security assist to add a registration and log in page to my site. I am wanting to add a session variable to my existing authenticate user server behavior. I open up the authentic user behavior in the wizard and page over to step 3 where you can add or delete session variables. I click the plus button and a list of my columns shows up in a menu, I choose one and nothing happens. It doesn't let me add a session variable here. Any thoughts?
I'm using CS5 and Security Assist version 1.1.9.
In the meantime, where do I add a new session variable in the code by hand? I currently have a session called memberID from the memberID column in my members table. I want to make a session called memberStatus from the memberStatus column in my members table upon log in as well.
<?php
if(isset($_POST["LogIn"])){
$WA_Auth_Parameter = array(
"connection" => $mydatabase,
"database" => $database_mydatabase,
"tableName" => "members",
"columns" => explode($WA_Auth_Separator,"memberEmail".$WA_Auth_Separator."memberPassword"),
"columnValues" => explode($WA_Auth_Separator,"".((isset($_POST["username"]))?$_POST["username"]:"") ."".$WA_Auth_Separator."".WA_SHA1Encryption(((isset($_POST["userpassword"]))?$_POST["userpassword"]:"")) .""),
"columnTypes" => explode($WA_Auth_Separator,"text".$WA_Auth_Separator."text"),
"sessionColumns" => explode($WA_Auth_Separator,"memberID"),
"sessionNames" => explode($WA_Auth_Separator,"memberID"),
"successRedirect" => "index.php",
"failRedirect" => "email_pw.php",
"gotoPreviousURL" => TRUE,
"keepQueryString" => TRUE
);
WA_AuthenticateUser($WA_Auth_Parameter);
}?>
Thanks in advance,
Twitch