Re: [PHP] cart in a session



Is it a good idea to put a cart in a session var since the cart will be
an
array ?

Yes, and it's far more secure than putting the actual data into a
cookie, since that can be changed on the client-side to alter prices
and other data.

Thanks


.



Relevant Pages

  • Re: How to use SSL for login page only
    ... when a cookie itself has ... Joe Kaplan-MS MVP Directory Services Programming ... section will take care of the Secure flag. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: [PHP] Need secure login
    ... This first rule is never trust the client-side. ... the user accepting the cookie ... the user not deleting the cookie ... Randomly ask the user an additional question on login (DOB, ...
    (php.general)
  • OT: Re: Are cookies so important that a dealer would sacrifice a sale over one?
    ... cookie. ... The most secure and relaible involves server ... > I've lost shopping cart items many times because I wanted to use ... >> of cookies is fraught with security issues. ...
    (rec.collecting.coins)
  • Re: Secure Cookies in Asp.net web application.
    ... Use of included script samples are subject to the terms specified at ... > How to set 'secure cookie' for a ASP.NEW web application, ... > the web application uses https:// and the IE browser ... > cookie handling' to prompt the cookie. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Security of Password-Managers
    ... > When I lose the piece of paper, I've got the disk. ... with a verbal secret called "the cookie". ... The method is far from completely secure. ... not a gasthaus in the area that didn't have the Bitburger logo and Simon ...
    (Security-Basics)