Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    May 2014
    Posts
    24
    Member #
    39302

    E com shopping cart database

    Hi,
    I want to build up some scripts for my shopping cart, and my idea is:
    insert the purchasing quantity which correspond the item in my DB,
    when the client decide to place the order, my script makes the multiplication between the quantity and the corresponding price, than make the addition of all purchasing items.
    my question is: if there's serveral clients prepare the order at the same time, will it disturbe the DB and the calculated result will be correct ?
    has anyone know very well the DB and reply me ?

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    Not unless they're all using the same browser. Session variable stake care of that problem.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member
    Join Date
    May 2014
    Posts
    24
    Member #
    39302
    you said "they're all using the same browser",
    so it has not problem for them if they are not at the same place (not using the same browser)?
    because sometime, we call the Firefox, Explorer, Opera....are the browser,
    so many people use Firefox at the same time, is it the same browser ?

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    No...I mean literally if there are 8 people in the same chair in front of the same computer using the exact same browser. Not whether two people on two different computers happen to use Firefox. I mean different users at the same time using Firefox.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:42 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com