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

eCart session variables

Thread began 8/23/2011 2:18 am by david331670 | Last modified 8/25/2011 10:27 am by david331670 | 1029 views | 6 replies

david331670

eCart session variables

I Just cant get it.
I am starting to produce photobooks.
My books assembly software loaded onto users computer assembles the files to a folder, the finished files are sent to my FTP site and the user logs onto my cart page with link address similar to this: http://localhost:/Shop-Photobooks.php?pgx=32&pid=274&job_id=Cards_475"

I can "Get" the data for the number of pages, (pgx=32) calculated from page price in data base, the product ID (pid=274) from product ID in data base, and I can display the Job_id number ( Cards_475). These item display and calculate properly. I want the job_id to be carried forward and displayed on the cart summary page, the confirm page and the cart success page. This JobID is related to the folder on my FTP site and it is important to have the job_id displayed on the success page/invoice as this is the way the customer can have reference to his job.
I can display the job_id number if I include it in the URL but I cannot get it to carry over to any or all three pages.
I just know it is simple but no luck.
I have used this code to display URL items on the cart page.
Line11 after:
<?php
$Spectrum_online->GetContent();
?>
<?php
session_start();
// store session data
$_SESSION['PBksID']=$_GET['job_id'];
?>

body
html

This in a table cell:
<?php
//retrieve session data
echo "Job identification=". $_SESSION['PBksID'];
?>
can you point me in the correct direction please.
Thanks
David

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