The question about SESSIONS and COOKIEs disabled
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?
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
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)