- Developer documentation
- Common codes
- Universal codes
- PHP functions
- Session management functions
- session_savesearch
session_savesearch
Declaration
session_savesearch(mixed$module): mixed
Source: /includes/common/session.php
The function saves the current search parameters and the first item position into the session, under keys specific to the given module. It retrieves the search parameters from the global `$_ufh` or `$ufh_serialized` variables, serializes them, and stores them in the session (`savedsearch_` and `savedfirst_` keys). The return value is the serialized parameter string, which can be used later to restore the search state.
Parameters
$module
Return values
mixed






