L
L
LordPrimes2018-02-13 18:05:12
PHP
LordPrimes, 2018-02-13 18:05:12

Product sorting?

Good afternoon. The question, I think, is for middles, I found out not long ago that they do sorting of goods on sites through sessions, if it’s not difficult for someone, write down the idea of ​​sorting by rating, prices, etc. through sessions :) He wants to do it himself try to implement

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Fedorov, 2018-02-13
@qonand

I found out not long ago

How did you know? Could you provide a source, at least where such information comes from ...
Most likely you misunderstood something (that's why I speak for the source). With a high probability, it means SAVE sorting parameters in the session, and not some mythical mechanism for determining the order of records

J
JackShcherbakov, 2018-02-13
@JackShcherbakov

Since when do sessions implement any functionality? These are just files where the user's session information is stored. In your case, it stores sorting information that the engine (php) uses to sort.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question