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

Different $_SESSION variable set in checkout

Thread began 12/03/2014 12:12 pm by troyd | Last modified 12/03/2014 6:51 pm by troyd | 486 views | 6 replies

troyd

Different $_SESSION variable set in checkout

This could easily be something that I inadvertently did when recreating the checkout through the wizard.

For some reason, a session $_SESSION["WASF_CheckoutWizard_Compact_Default"] is created and holding all of the checkout information. However, all of rules and checkout form use CheckoutWizard_NewFromBlank_Default. It caused sales tax not to work but fixed that by changing the rule in the eCart1_PHP.php page but it seems odd that the session CheckoutWizard_NewFromBlank_Default isn't the one being set by the form's post instead.

I made sure this is at the top of the confirm_cart.php page.
@session_start();
if (isset($_POST["CheckoutWizard_submit"]) || isset($_POST["CheckoutWizard_submit_x"])) {
WA_persistForm("session","CheckoutWizard_NewFromBlank_Default",0,"/","");
}

I think that one of the times I recreated the checkout through the wizard, I selected the "Compact" address form by mistake. But I've done a thorough search for the word CheckoutWizard_Compact_Default and even "_Compact_" and don't find a thing.
I see that the "WASF" is appended in the persist.php page but I don't see where the CheckoutWizard_Compact_Default session is even set.

I though maybe I had some caching issues or files where not being uploaded/overwritten correctly. I've cleared cache, deleted remote folders and re uploaded. Still the same problem. Any thoughts?

BTW. It's on my local server or I would have included a link to the page with the session dump. I can provide files but didn't know which one to start with.

Thanks,
TroyD

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