close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Session Variables Problem

Thread began 9/05/2009 2:11 am by Daryl | Last modified 9/08/2009 2:45 pm by Daryl | 2347 views | 10 replies

DarylBeta Tester

Thats a useful bit of code! Thanks Jason...

The Variables that are being sent are;

  id, f_name, s_name, unit, auth, web_admin, position, lsdogs_sec, unit_admin, a_co, assessor, lsdogs_chair, lsdogs_tre, un, pw  

But I have set the following ones in addition to be sent;

  news, email  

The first batch were those created by Security Assist at first setup. The other two were set using Security Assist after the page was created.

The code on the page that I assume sets the sessions includes the two that I want in the same places as all the others.

Is there another file somewhere that also holds this information that might not have been updated or is there another reason why they might not be sent?

below is the code that I assume is to do with Sessions;


$WA_Auth_Parameter = array(
"connection" => $lsdogs,
"database" => $database_lsdogs,
"tableName" => "users",
"columns" => explode($WA_Auth_Separator,"un".$WA_Auth_Separator."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,"id".$WA_Auth_Separator."f_name".$WA_Auth_Separator."s_name".$WA_Auth_Separator."unit".$WA_Auth_Separator."auth".$WA_Auth_Separator."web_admin".$WA_Auth_Separator."position".$WA_Auth_Separator."lsdogs_sec".$WA_Auth_Separator."unit_admin".$WA_Auth_Separator."a_co".$WA_Auth_Separator."assessor".$WA_Auth_Separator."lsdogs_chair".$WA_Auth_Separator."lsdogs_tre".$WA_Auth_Separator."un".$WA_Auth_Separator."pw".$WA_Auth_Separator."news".$WA_Auth_Separator."email"),
"sessionNames" => explode($WA_Auth_Separator,"id".$WA_Auth_Separator."f_name".$WA_Auth_Separator."s_name".$WA_Auth_Separator."unit".$WA_Auth_Separator."auth".$WA_Auth_Separator."web_admin".$WA_Auth_Separator."position".$WA_Auth_Separator."lsdogs_sec".$WA_Auth_Separator."unit_admin".$WA_Auth_Separator."a_co".$WA_Auth_Separator."assessor".$WA_Auth_Separator."lsdogs_chair".$WA_Auth_Separator."lsdogs_tre".$WA_Auth_Separator."un".$WA_Auth_Separator."pw".$WA_Auth_Separator."news".$WA_Auth_Separator."email"),
"successRedirect" => "index.php",
"failRedirect" => "",
"gotoPreviousURL" => TRUE,
"keepQueryString" => TRUE

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