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


Change Password form not working

Thread began 5/27/2010 3:47 pm by cal375160 | Last modified 6/03/2010 11:31 am by Jason Byrnes | 1241 views | 5 replies |


Change Password form not working

I followed the instructions to build a form to change a user's password but it doesn't change the password even though it redirects to the correct page after the submit button is pushed. The code is attached.

Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

the code looks correct.

try adding the following at line 1:

<?php if(!session_id()) session_start(); ?>
Sign in to reply to this post


Still need help...

I added the code you suggested (I think). Now the page doesn't redirect AND no new password is posted. Arrrrgh! (new code attached).

Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

the page is not redirecting because the there is a blank spacee at the end of the code I had you add:
"<?php if(!session_id()) session_start(); ?> "

remove the blank space from the end of line 1 fix the redirect problem:
"<?php if(!session_id()) session_start(); ?>"

to troubleshoot the update further, add the following code after the <body> tag:

<pre><?php var_dump($_SESSION); ?></pre>

This will write the contents of the session array to the screen to help me see what is going wrong.

Please post back the session information that is written to the screen.

Sign in to reply to this post


Session info

Following is the session information from the screen as you requested:

array(11) {
string(4) "test"
string(1) "4"
string(0) ""
string(9) "ACIdArxZm"
string(29) " AND (last_name LIKE '%Fox%')"
string(5) "KYX56"
string(0) ""
string(0) ""
string(0) ""



Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:

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