close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Security Assist Bug?

Thread began 9/27/2010 9:15 pm by twitchr377598 | Last modified 10/07/2010 7:55 am by twitchr377598 | 2722 views | 8 replies

twitchr377598

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

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