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

Log In Failure

Thread began 4/28/2011 9:03 am by gpaul | Last modified 4/28/2011 1:54 pm by gpaul | 1340 views | 9 replies

gpaul

Log In Failure

I have a log in that does not work, upon entering app_uname (username) and app_pw (password), the input data is removed and it appears the page reloads. The failure redirect is set to another page, however it does not take me there.

I have uploaded the HelperGroupsRulesPHP.php and it has the rule included (I have another log in on the site that works).

The connection seems to be correct in that I am able to insert into the DB and the connection files are the same.

This is from appraiser_LogIn.php

if($_SERVER["REQUEST_METHOD"] == "POST"){
$WA_Auth_Parameter = array(
"connection" => $assess_remote,
"database" => $database_assess,
"tableName" => "appraiser",
"columns" => explode($WA_Auth_Separator,"app_uname".$WA_Auth_Separator."app_pw"),
"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,"app_id"),
"sessionNames" => explode($WA_Auth_Separator,"app_id"),
"successRedirect" => "appraiser_Profile.php",
"failRedirect" => "appraiser_EmailPW.php",
"gotoPreviousURL" => TRUE,
"keepQueryString" => TRUE
);

WA_AuthenticateUser($WA_Auth_Parameter);
}
?>
<?php
if((((isset($_SESSION["app_id"]) && $_SESSION["app_id"] != "")?"LoggedIn":"") == "")&&(((isset($_COOKIE["AutoLoginUN"]))?$_COOKIE["AutoLoginUN"]:"") != "")&&(((isset($_COOKIE["AutoLoginPWD"]))?$_COOKIE["AutoLoginPWD"]:"") != "")){
$WA_Auth_Parameter = array(
"connection" => $assess_remote,
"database" => $database_assess,
"tableName" => "appraiser",
"columns" => explode($WA_Auth_Separator,"app_uname".$WA_Auth_Separator."app_pw"),
"columnValues" => explode($WA_Auth_Separator,"".((isset($_COOKIE["AutoLoginUN"]))?$_COOKIE["AutoLoginUN"]:"") ."".$WA_Auth_Separator."".((isset($_COOKIE["AutoLoginPWD"]))?$_COOKIE["AutoLoginPWD"]:"") .""),
"columnTypes" => explode($WA_Auth_Separator,"text".$WA_Auth_Separator."text"),
"sessionColumns" => explode($WA_Auth_Separator,"app_id"),
"sessionNames" => explode($WA_Auth_Separator,"app_id"),
"successRedirect" => "appraiser_Profile.php",
"failRedirect" => "index.php",
"gotoPreviousURL" => TRUE,
"keepQueryString" => TRUE
);

WA_AuthenticateUser($WA_Auth_Parameter);
}


Is there any other information that would be helpful in tracking this down?

Thank you

Gary

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