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

rating

MySQLi Update - any way to store the row ID in session once an update is completed?

Thread began 3/07/2019 5:58 am by Nathon Jones Web Design | Last modified 3/07/2019 3:56 pm by Ray Borduin | 31 views | 3 replies |

Nathon Jones Web Design

MySQLi Update - any way to store the row ID in session once an update is completed?

When you use the INSERT behaviour you get an option to store ID in session. Is there any way of doing this with an UPDATE behaviour as I need to be able to use the ID on subsequent pages and I don't want to pass the row ID as a querystring as that could then be tampered with by the user?

Thank you.
NJ

Sign in to reply to this post

Ray BorduinWebAssist

You could just use the set session value server behavior separately to save the id from the recordset or from the url parameter used to filter the recordset on the update page.

Sign in to reply to this post

Nathon Jones Web Design

The set session value server behaviour doesn't work when you are using an UPDATE form. The session does not exist on the Redirect page of the UPDATE behaviour.

Sign in to reply to this post

Ray BorduinWebAssist

Did you start the session on the redirect page? What did you set the session value to? What trigger did you use? It would work if applied correctly and sessions are working correctly on your server, but I don't have enough information in your post to figure out where you went wrong. Maybe include a copy of the pages you are working on so I can take a look.

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