close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Dynamic Plugin with Session Variable

Thread began 10/02/2015 4:30 pm by Daryl | Last modified 10/02/2015 7:05 pm by dbooker | 1098 views | 12 replies |

DarylBeta Tester

Dynamic Plugin with Session Variable

Can you please tell me if there is a way to use the dynamic plugin with session variables please?

I understand the way that it works with a URL Variable but not sessions.

I was hoping that the options would have been available similar to security assist page access or Data Assist triggers.

Sign in to reply to this post

DarylBeta Tester

I have removed the static plugin of the email button and the update form works as expected.

I tried adding the email button as a dynamic plugin, but the update form would not work as per my original post

Sign in to reply to this post

Ray BorduinWebAssist

Was the email redirecting after sending? Maybe the redirect was happening before the update could take place. Make sure the email plugin is below the update plugin on the page and it should work properly.

And you should be able to use a dynamic plugin with session variables just like you would with url parameters... there should be no difference except you will need to start the session on the top of the page..

Sign in to reply to this post

DarylBeta Tester

Hi Ray

The email was set to redirect to the page that the button was on and was working without any problem, it was the update button that wasnt doing anything at the bottom of the page.

The update is now working as I have removed the plugin that contained the email button.

Reference the Session Variable/Dynamic Plugin

When I used the dynamic plugin I selected the session variable isLeader and then in the value put 1 is this correct?

Sign in to reply to this post

Ray BorduinWebAssist

Right...and if the email redirects it would prevent the update from working because it would redirect before the update code could run. That is why it would stop working when added and start working once the email was removed.

Yes I believe that would work with the session variable.

Sign in to reply to this post

DarylBeta Tester

So would I just leave the redirect blank?

Sign in to reply to this post

Ray BorduinWebAssist

Yes, or move the email code below the update code so that the update has a chance to run before the email sends and redirects to another page.

Sign in to reply to this post

DarylBeta Tester

I deleted the redirect and have also moved the plugin code to below all the other plugin codes and it still isnt working

Sign in to reply to this post

Ray BorduinWebAssist

I'll go take a look.

Sign in to reply to this post

Ray BorduinWebAssist

You had the same form ID on the page repeated for the email. The email page doesn't need a form at all. I removed the html code from the email page and it is working now.

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