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


how to create session variable in a form

Thread began 4/08/2010 3:38 pm by rdicroce404569 | Last modified 4/21/2010 3:03 pm by Eric Mittman | 680 views | 2 replies |


how to create session variable in a form

I have finished ecart setup with paypal pro and everything works very well. Cart is not database driven and I am just using flat rate shipping. What I would like to do is add a higher flat rate for shipping to Hawaii and Alaska. I set up shipping for these in the ecart object that are triggered by Based on session variable = eCartCheckoutForm_shipping_state_province

How do I set this session variable on the checkout.php page, I assume some php will go into the option value, but my only experience with php is what I've learned this week setting up cart. I have the states listed like <option value="HI">Hawaii</option>

If anyone could post some sample code or point me to documentation that would be great. This is not urgent but would be very helpful. Thanks

NEVER MIND, I got it working. Thanks anyways.

Sign in to reply to this post


I'm trying to do something similar. Define the value of the session variable based on dropdown menu selection.

How did you get this to work?

Sign in to reply to this post

Eric Mittman

If you have eCart installed you can add the eCart > general > set session value server behavior to set the session variable for you.

You need to apply this to the page that your form is posting to with the action in the form tag. When you apply this you will set the trigger, like before page load, then for the value use the lightning bolt to select the select list.

If you are adding it to the same page you will have the form bindings available to you, if you are applying it to a page that does not have the form on it you will need to go to Bindings > Form Data to select the page that has the form on it to get the bindings available to you.

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