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



Thread began 1/30/2012 6:53 am by salaroche | Last modified 1/31/2012 3:00 am by salaroche | 1080 views | 2 replies |




I'm using Data Assist's Insert Record Behavior to allow teachers to enter class records into a DB. The page "Teacher Base Page" passes well the content of MM_Username to the "Enter Class record" page.

However, the "Enter Class Record" page doesn't pass back the content of MM_Username anywhere else. What am I not doing right? Any suggestions?

Attached please find the two pages in question.

Thank you for your attention

Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

you have this code on all your pages:

if($_SERVER["REQUEST_METHOD"] == "POST")     { 

  $_SESSION['MM_Username'] = "".((isset($_POST["userName"]))?$_POST["userName"]:"")  ."";
  $_SESSION['MM_UserGroup'] = ""; 

this code will reset the MM_Username session variable any time there is a form post. the session will be set to the value of the userName form element. If the form does not include a userName form element, the MM_Username session will be set to blank.

that code should not be included on every page, only the page that the login form posts to. by including it on every page, you are bound to overwrite the session to b blank at some point.

Sign in to reply to this post



You're totally right.


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





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