www.webdeveloper.com
Results 1 to 2 of 2

Thread: The question about SESSIONS and COOKIEs disabled

  1. #1
    Join Date
    Jan 2013
    Posts
    84

    Lightbulb The question about SESSIONS and COOKIEs disabled

    Hi
    Suppose to have an e-shop web site, how to take trace of the user wallet througth pages? The response should be to use Sessions, but how we know, they are based on the cookie capacity of the web browser.. What happen if the user have the cookies disabled?
    The reply should be to use the GET method for pass parameters, but as we know, it's unsafe because external people could try an retry until discover it!

    So my question is: great e-commerce site, such amazon.com, what method use for this drawbacks?

  2. #2
    Join Date
    Mar 2011
    Posts
    1,144
    PHP Sessions automatically detect whether or not the user accepts cookies. If he does not, PHP automatically adds a query string to all internal URLs in the HTML of the page being generated by the script so that the session data is preserved and available to subsequent pages in your site that the user visits. See the Sessions documentation at http://www.php.net/manual/en/book.session.php
    Rick Trethewey
    Rainbo Design

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles