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

working with sessions

Thread began 3/06/2013 10:47 am by Christopher West | Last modified 3/06/2013 11:01 am by Christopher West | 338 views | 1 replies

Christopher WestCommunity Expert

working with sessions

Hi Jason, I am thinking about a solution to a situation I have. currently I have International shipping set up nicely that allows the user on the checkout page to select a country and then select a shipping option, these get stored as a session on form post and also the shopping cart weight is already stored as a session upon entering the checkout page...then the delivery cost based on country+shipping option+weight is calculated on the checkout form post....however it would make sense to allow the customer to know the shipping cost before paypal....So I am wondering...can the sessions be created on some kind of form select box on click concept rather then a post? but obviously the recordset on the page that brings in the data for the shipping costs is set up like:

SELECT shippingcosts.*
FROM shippingcosts INNER JOIN shippinglocation on ShippingLocationZone = ShippingCostZone
WHERE ShippingCode = selcountry AND ShippingCostsType = seltype AND ShippingCostsWeightTo >= cartweight
ORDER BY ShippingCostsWeightTo

and that uses selcountry and seltype $_POST['country'] and $_POST['shippingoption']
So of curse that would need to change somehow....Im assumning I canot use $_GET as the calculation is created from the form select box. but how can I incoportate a form selecbox "on click" in the recordset?


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