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

rating

MYSQLi Log In User

Thread began 3/05/2015 10:53 am by Chris | Last modified 5/15/2015 8:55 pm by Ray Borduin | 1242 views | 25 replies |

Chris

MYSQLi Log In User

I have viewed all of your tutorials and I cannot for the life of me get this function to work.

I have a record set tested and connects and displays data. I have a form which is set to POST data.

In the "Find Record" tab, it should be pulling the username and password from the record set correct?

"Store Value" tab, can that be left blank or must each column have a value in the "save in session as"?

Does the password have to be encrypt or can it be plain text?

Sign in to reply to this post

Jason ByrnesWebAssist

Originally Said By: Chris
  I have viewed all of your tutorials and I cannot for the life of me get this function to work.

I have a record set tested and connects and displays data. I have a form which is set to POST data.

In the "Find Record" tab, it should be pulling the username and password from the record set correct?  



no, it should be using the form elements.

Originally Said By: Chris
  "Store Value" tab, can that be left blank or must each column have a value in the "save in session as"?  



Saving the sessions is optional

Originally Said By: Chris
  Does the password have to be encrypt or can it be plain text?  



the password does not have to be encrypted.

Sign in to reply to this post

Chris

MYSQLi Log In User

Originally Said By: Jason Byrnes
  no, it should be using the form elements.



Saving the sessions is optional



the password does not have to be encrypted.  
Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the page rather than pasting the code into your message please.

or better yet, would be to send a link and give FTP information so i can troubleshoot the code in place, i would also need a test login.

Sign in to reply to this post

Chris

Page

Originally Said By: Jason Byrnes
  send a copy of the page rather than pasting the code into your message please.

or better yet, would be to send a link and give FTP information so i can troubleshoot the code in place, i would also need a test login.  
Sign in to reply to this post

Jason ByrnesWebAssist

Rule #1 when working with forms:

All form processing MUST occur on the page that is the action attribute of the form tag.

the form tag:
<form action="cp.php" method="post" id="enter">

action attribute on your page is to send the form post to the cp.php page

this means that the login behavior that is on the enter.php page will never be executed. when the form submit button is pressed, the form data is sent to action page, in this case the cop.php page.

for the login behavior that is on the enter.php page to be able to run, the action of the form needs to be set to the enter.php page.
<form action="enter.php" method="post" id="enter">

Sign in to reply to this post

Chris

form

Originally Said By: Jason Byrnes
  Rule #1 when working with forms:

All form processing MUST occur on the page that is the action attribute of the form tag.

the form tag:
<form action="cp.php" method="post" id="enter">

action attribute on your page is to send the form post to the cp.php page

this means that the login behavior that is on the enter.php page will never be executed. when the form submit button is pressed, the form data is sent to action page, in this case the cop.php page.

for the login behavior that is on the enter.php page to be able to run, the action of the form needs to be set to the enter.php page.
<form action="enter.php" method="post" id="enter">  
Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

Chris

ftp

data

Sign in to reply to this post

Chris

file error location

data

Sign in to reply to this post
loading

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