Answer the question
In order to leave comments, you need to log in
Bitrix. $_SESSION contents not visible in init.php?
Good afternoon.
I set in the file $_SESSION['test'] = $_POST['test'];
In init.php
require_once($_SERVER['DOCUMENT_ROOT'] . "/bitrix/modules/main/include/prolog_before.php");
print_r( $_SESSION );
Array
(
[SALE_USER_ID] => 1
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question