Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9

Thread: I need a cookie

  1. #1
    New Coder
    Join Date
    Aug 2002
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I need a cookie

    Hello all, I need a cookie that can customize a page based on what a user has purchased.
    For instance, if they purchase product (A) then when they login, they need to be able to have a button to take them to their purchase, but at the same time keeping them out of restricted areas that they have not purchased.

    So....

    I need a cookie that will do that, and a bit of explanation on how to impliment it into my HTML document.

    Thank You Very Much

    matthew

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Whoa. big request. You need to provide more details.

    How do customers login?
    How many products?
    1 product per page or multiples?
    Why take them to only what they have purchased? Or do you want an order history?

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Location
    Raleigh, NC
    Posts
    484
    Thanks
    0
    Thanked 0 Times in 0 Posts
    cookie coming right up....
    -WebMark Art
    Programming is 80% thinking and 20% spelling

  • #4
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    dude...don't do that to me before I've had dinner!

  • #5
    New Coder
    Join Date
    Aug 2002
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, I'm going to give you all the info I currently have.
    I will be doing transactions via paypal or something equivalent. There will be multiple "packages" these packages are packages of information.
    There will be 6 Catagories of "packages" and each package will also have a time limit.
    For example, you can buy package (b) which is good for 1 week, or package (1002b) which is good for 3 months. Then, you can also buy (if you want) package (1002c) which is good for 3 months. and so on.
    PayPal (etc.) will handle the forms, and with them the login, which should take care of the time limit for the validity of the password.
    Other than that, that's all I got.
    Any suggestions would be great too.... hope that helps.
    Matthew

  • #6
    New Coder
    Join Date
    Aug 2002
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I just thought of this: lol
    I was thinking that having "invisible" buttons on the page would be the way to go... so that they buttons only "appear" if the user paid for them.
    Any suggestions with that as well?
    Matthew

  • #7
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Since people can disable cookies, I'd personally use a server-side scripting language and a database for something like this.

    (P.S. If you do justame a favor, she might send you some really good chocolate chip cookies from Canada!)

    Last edited by whammy; 08-22-2002 at 12:41 AM.
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #8
    New Coder
    Join Date
    Aug 2002
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    alright...... well, i have absolutely no idea how to do server side... i mean, where do i even begin?? I need a lot of help with that so any points in the correct direction would be great...
    matthew..........





    (who's justame?)


  • #9
    New Coder
    Join Date
    Aug 2002
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    btw, my server supports MySQL and CGI-bin(i'm not sure on the cgi bin, but i think it does) and I have no clue how to do any of that.....
    matthew


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •