close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Reflect changes to profile photo immediately after user updates their profile.

Thread began 4/26/2013 12:47 pm by Mysite07430650 | Last modified 4/29/2013 9:41 pm by Mysite07430650 | 1407 views | 12 replies


Originally Said By: Jason Byrnes
  your update page has the same code order problem as before.

the code order is:
set session value
update record

the order should be:

update record
set session value

also, on the client-home.php page, you are creating a recordset, why not filter that recordset on the SecurityAssist_UserID session variable, and use the recordset for displaying the image instead of trying to store the file name in a session and change that on update.  

Jason, I changed the order of the code as recommended and was able to update the profile photo. However, once I am logged out, I am unable to log in again. Upon checking the users table I found that my password had been wiped out after updating. Clearly this should not happen and I wondering why that is the case.

I should also say that I have two update server behaviours (Please see attached image) in the userupdate page, the first updates the users' table and the second deals with activating verification link for the double opt-in registration.

Should the second also be moved above the recordset or left alone?

Putting the update behaviour above the recordset logged me out of the table?

How do I rectify this?

The last point regarding filtering the recordset on the client-home page, should it have $_SESSION["SecurityAssist_UserID"] or $_SESSION["UserImage"] as the session name?

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