#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Location
    UK
    Posts
    1
    Rep Power
    0

    Unhappy Javascript & SSL


    Hi
    Wondering if anyone can help! I am running a javascript shopping cart and want to make the checkout page secure. However on the checkout page I need to call the javascript so as to show the order the customer has made. This works fine without using SSL but when running the page through a SSL the code calling the script dosen't seem to work and the order info dosen't get drawn onto the page. As this is the page that is submitted to the shopkeeper as thr final order it is imperative that the order info is captured on this page.
    Any answers? Hope this is written clearly!
  2. #2
  3. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Apr 2000
    Posts
    1,058
    Rep Power
    22
    You say the script doesn't seem to work, but that's not terribly helpful. What does it do? Are you printing out the values of your variables?

    Offhand I don't know why a secure page would handle js any differently, but I have had stuff that worked just fine go completely wonky when SSL was applied.


    Also, this probably isn't what you want to hear, but why use js? If you're using js/cookies it's easy for a user to tamper with prices and such.


    wdn2k

IMN logo majestic logo threadwatch logo seochat tools logo