close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

The store values behavior does not save the variable

Thread began 6/12/2016 9:37 pm by JBWebWorks | Last modified 6/14/2016 3:08 pm by Ray Borduin | 136 views | 8 replies |

JBWebWorks

The store values behavior does not save the variable

Using login form with MySQLI (just purchased) and the store values does not save. (trying to save admin_ID)
Also when I go back into the server behavior to check it writes code for the table as this "`admin`"
with the single quote inside the double quotes?

Sign in to reply to this post

santius355196

How are you testing if the session variables are set. Create a page with this:

<?php
@session_start();
var_dump($_SESSION);
?>

Then visit that page after login and see if the session variables are set. If they aren't it is probably a configuration issue on the server with the session_save_path setting in in the php.ini file. Your hosting provider could probably look into it and get that resolved for you.

Sign in to reply to this post

JBWebWorks

I can see that the session is not written in the code when using the Store Values form from the MySQLI Login User Server Behavior. The screen shot shows that nothing is saved when filling in the Save in Session As text field.
I had to hand code a Session as

php:
<?php

@session_start();
if(
$_SERVER["REQUEST_METHOD"] == "POST")     {
  
$_SESSION["newsession"] = "".((isset($_POST["username"]))?$_POST["username"]:"")  ."";
}
?>
Sign in to reply to this post

Ray BorduinWebAssist

You have to type in a value for "Save in session as" for each field you want stored. You don't have any specified to be stored in yours.

Sign in to reply to this post

JBWebWorks

Ray,

I have typed in admin_ID for the column, admin_ID and clicked OK, but nothing happens, except it changes this

php:
$Authenticate->Name = "admin";

  $Authenticate->Table = "admin";



to this

php:
$Authenticate->Name = "admin";

  $Authenticate->Table = "`admin`";
Sign in to reply to this post

Ray BorduinWebAssist

Please post a US phone number or Skype contact information and I'll debug this with you over the phone in a screen sharing session.

Sign in to reply to this post

JBWebWorks

See PM

Sign in to reply to this post

Ray BorduinWebAssist

This appears to be an issue with CS5.5. We were able to find a solution in a screen sharing session.

Sign in to reply to this post

JBWebWorks

Ray,
Thanks for your quick response and solving the interface issue!
I look forward to the Databridge upgrade including use with MYSQLi. Great products from Webassist!

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

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