This topic is locked
[SOLVED]

 Session where

10/2/2017 3:18:05 AM
PHPRunner General questions
R
Rigmantas author

Hi,

In version PHPRUNNER 9.8 no more Session table_where. How i can get where in other way in PHPRUNNER 9.8.

Thanks.

Regards,

Rimantas

romaldus 10/2/2017

what do you mean with session table_where?

R
Rigmantas author 10/4/2017

$_SESSION["<table name>_where"]

there you can find that:

session variables

Sergey Kornilov admin 10/4/2017

You need to explain what exactly you trying to achieve. Most likely you need to use Search API for this task but knowing what you looking for helps providing a better advise.

R
Rigmantas author 10/6/2017

Hi,

There is one from my simple used projects: I have a many items with prices. In left count all prices. When i sort by groups, with where sessions i change the prices count. (in picture underlined red)

Regards

Rimantas


Picture

Sergey Kornilov admin 10/6/2017

Use BeforeSQLQuery event, save $strWhereClause in session variable and use this session variable in your code snippet.