close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Missing Session Variables

Thread began 10/16/2012 5:42 am by Mike Perry | Last modified 10/16/2012 12:09 pm by Mike Perry | 1248 views | 4 replies |

Mike Perry

Missing Session Variables

I have a confirm page with all the eCart Set Session Value behaviors in place. However the eCart Session Bindings are not showing on the Bindings panel.

The eCart object is set to store variables in session.

??

Thanks,

Mike

Sign in to reply to this post

Jason ByrnesWebAssist

which session bindings are missing?

can you send a screen shot showing what is in the session collection and description of bindings you expect to find there?

Sign in to reply to this post

Mike Perry

Originally Said By: Jason Byrnes
  which session bindings are missing?

can you send a screen shot showing what is in the session collection and description of bindings you expect to find there?  



Two Images attached.

Confirm2011 is screenshot in DW showing the associated bindings. This is from the page for the site I did last year.

Confirm2012.jpg is the new page, I'm redoing the site using Framework. The bindings are missing; the page code setting variables is in both pages.

Sample:

php:
<?php

if (!session_id()) session_start();
if(
$_SERVER["REQUEST_METHOD"] == "POST")     {
  
$_SESSION["eCartCheckoutForm_firstname"] = "".((isset($_POST["firstname"]))?$_POST["firstname"]:"")  ."";
}
?>



Thanks,

Sign in to reply to this post

Jason ByrnesWebAssist

did you copy the session code? or use the Set Session Variable behavior to add it? copying the code will not add the binding to the session list.

to add the binding in the session list, you will need to add it manually.

on the bindings panel, click the plus button and select Session. set the name to eCartCheckoutForm_firstname

Sign in to reply to this post

Mike Perry

Originally Said By: Jason Byrnes
  did you copy the session code? or use the Set Session Variable behavior to add it? copying the code will not add the binding to the session list.

to add the binding in the session list, you will need to add it manually.

on the bindings panel, click the plus button and select Session. set the name to eCartCheckoutForm_firstname  


I may have copied -- couldn't remember how I set it up last year. . .

Suspected that was the issue, but was worth checking.

Thanks, Jason. . .

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