После успешного входа в систему я сохраняю определенные значения в сеансе, а затем перенаправляю пользователей на панель инструментов, откуда они могут создавать различные продукты.На странице создания продукта сессия сбрасывается и все сохраненные значения стираются.Эта проблема возникает только в Safari (macOS Sierra).В других браузерах, таких как Chrome и Firefox, все работает нормально.
Я проверил файлы сеансов PHP в каталоге сервера, и когда пользователь переходит на страницу создания продукта, он создает новый файл сеанса (с пустой информацией), который показывает, что каким-то образом существующий сеанс уничтожен или сброшен.Я предполагаю, что это может быть связано с настройками файлов cookie или конфигурацией сервера, но после применения другого решения через Интернет ( CodeIgniter IE неправильно хранит сеансы ) проблема по-прежнему сохраняется.
Любая помощь будет принята с благодарностью.
Ниже приведены данные сеанса:
__ ci_last_regenerate|i:1548851531;isLoggedIn|b:1;userInfo|s:3844:"O:4:"User":12:{s:16:" User _sessionId";s:26:"ojj9ki6teco564376ecf3p2e90";s:15:" User _username";s:14:"testing.inspector";s:15:" User _password";s:3:"XXX";s:12:" User _roles";a:1:{i:0;O:8:"stdClass":2:{s:2:"id";s:36:"4be88255-3317-7c4a-e05b-5beaa823da16";s:4:"name";s:9:"Inspector";}}s:6:"active";i:1;s:8:"verified";i:1;s:15:" * _module_name";s:5:"Users";s:6:" * _id";s:36:"4538da34-d98c-60e9-f8cf-5c24f6d9e205";s:4:"_raw";O:8:"stdClass":4:{s:2:"id";s:26:"ojj9ki6teco564376ecf3p2e90";s:11:"module_name";s:5:"Users";s:15:"name_value_list";O:8:"stdClass":21:{s:7:"user_id";O:8:"stdClass":2:{s:4:"name";s:7:"user_id";s:5:"value";s:36:"4538da34-d98c-60e9-f8cf-5c24f6d9e205";}s:9:"user_name";O:8:"stdClass":2:{s:4:"name";s:9:"user_name";s:5:"value";s:14:"testing.inspector";}s:9:"full_name";O:8:"stdClass":2:{s:4:"name";s:9:"full_name";s:5:"value";s:14:"testing Inspector";}s:6:"mobile";O:8:"stdClass":2:{s:4:"name";s:6:"mobile";s:5:"value";s:10:"3175137803";}s:5:"state";O:8:"stdClass":2:{s:4:"name";s:5:"state";s:5:"value";s:6:"Alaska";}s:5:"email";O:8:"stdClass":2:{s:4:"name";s:5:"email";s:5:"value";s:28:"testteam@gmail.com";}s:8:"zip_code";O:8:"stdClass":2:{s:4:"name";s:8:"zip_code";s:5:"value";s:5:"86543";}s:7:"address";O:8:"stdClass":2:{s:4:"name";s:7:"address";s:5:"value";s:0:"";}s:4:"city";O:8:"stdClass":2:{s:4:"name";s:4:"city";s:5:"value";s:0:"";}s:5:"photo";O:8:"stdClass":2:{s:4:"name";s:5:"photo";s:5:"value";s:36:"4538da34-d98c-60e9-f8cf-5c24f6d9e205";}s:13:"user_language";O:8:"stdClass":2:{s:4:"name";s:13:"user_language";s:5:"value";s:5:"en_us";}s:16:"user_currency_id";O:8:"stdClass":2:{s:4:"name";s:16:"user_currency_id";s:5:"value";s:0:"";}s:13:"user_is_admin";O:8:"stdClass":2:{s:4:"name";s:13:"user_is_admin";s:5:"value";b:0;}s:20:"user_default_team_id";O:8:"stdClass":2:{s:4:"name";s:20:"user_default_team_id";s:5:"value";N;}s:23:"user_default_dateformat";O:8:"stdClass":2:{s:4:"name";s:23:"user_default_dateformat";s:5:"value";s:5:"m/d/Y";}s:23:"user_default_timeformat";O:8:"stdClass":2:{s:4:"name";s:23:"user_default_timeformat";s:5:"value";s:3:"H:i";}s:21:"user_number_seperator";O:8:"stdClass":2:{s:4:"name";s:21:"user_number_seperator";s:5:"value";s:1:",";}s:22:"user_decimal_seperator";O:8:"stdClass":2:{s:4:"name";s:22:"user_decimal_seperator";s:5:"value";s:1:".";}s:23:"mobile_max_list_entries";O:8:"stdClass":2:{s:4:"name";s:23:"mobile_max_list_entries";s:5:"value";N;}s:27:"mobile_max_subpanel_entries";O:8:"stdClass":2:{s:4:"name";s:27:"mobile_max_subpanel_entries";s:5:"value";N;}s:18:"user_currency_name";O:8:"stdClass":2:{s:4:"name";s:18:"user_currency_name";s:5:"value";s:10:"US Dollars";}}s:5:"roles";a:1:{i:0;r:6;}}s:10:" * _params";a:3:{s:8:"username";s:14:"testing.inspector";s:8:"password";s:3:"XXX";s:11:"module_name";s:5:"Users";}s:22:" BexaModel _datasource";O:14:"SuiteConnector":13:{s:21:" SuiteConnector _host";s:91:"http://example.com/rest.php";s:25:" SuiteConnector _username";s:5:"admin";s:25:" SuiteConnector _password";s:8:"XXXXX";s:20:" SuiteConnector _ssl";b:0;s:24:" SuiteConnector _payload";s:0:"";s:28:" SuiteConnector _queryParams";a:5:{s:6:"method";s:5:"login";s:10:"input_type";s:4:"JSON";s:13:"response_type";s:4:"JSON";s:10:"session_id";N;s:9:"rest_data";s:104:"{"user_auth":{"user_name":"testing.inspector","password":"202cb962ac59075b964b07152d234b70","version":"1"}}";}s:30:" SuiteConnector _requestMethod";s:3:"GET";s:23:" SuiteConnector _method";s:5:"login";s:25:" SuiteConnector _response";s:0:"";s:26:" SuiteConnector _sessionId";N;s:23:" SuiteConnector _userId";N;s:25:" SuiteConnector _userRole";N;s:26:" SuiteConnector _systemAPI";a:6:{i:0;s:19:"arello_verification";i:1;s:11:"set_entries";i:2;s:13:"verify_number";i:3;s:11:"verify_code";i:4;s:14:"get_entry_list";i:5;s:0:"";}}s:16:"_name_value_list";r:16;}";auth|a:3:{s:4:"user";a:5:{s:5:"class";s:6:"MyUser";s:6:"entity";O:4:"User":12:{s:16:" User _sessionId";s:26:"ojj9ki6teco564376ecf3p2e90";s:15:" User _username";s:14:"testing.inspector";s:15:" User _password";s:3:"XXX";s:12:" User _roles";a:1:{i:0;O:8:"stdClass":2:{s:2:"id";s:36:"4be88255-3317-7c4a-e05b-5beaa823da16";s:4:"name";s:9:"Inspector";}}s:6:"active";i:1;s:8:"verified";i:1;s:15:" * _module_name";s:5:"Users";s:6:" * _id";s:36:"4538da34-d98c-60e9-f8cf-5c24f6d9e205";s:4:"_raw";O:8:"stdClass":4:{s:2:"id";s:26:"ojj9ki6teco564376ecf3p2e90";s:11:"module_name";s:5:"Users";s:15:"name_value_list";O:8:"stdClass":21:{s:7:"user_id";O:8:"stdClass":2:{s:4:"name";s:7:"user_id";s:5:"value";s:36:"4538da34-d98c-60e9-f8cf-5c24f6d9e205";}s:9:"user_name";O:8:"stdClass":2:{s:4:"name";s:9:"user_name";s:5:"value";s:14:"testing.inspector";}s:9:"full_name";O:8:"stdClass":2:{s:4:"name";s:9:"full_name";s:5:"value";s:14:"testing Inspector";}s:6:"mobile";O:8:"stdClass":2:{s:4:"name";s:6:"mobile";s:5:"value";s:10:"3175137803";}s:5:"state";O:8:"stdClass":2:{s:4:"name";s:5:"state";s:5:"value";s:6:"Alaska";}s:5:"email";O:8:"stdClass":2:{s:4:"name";s:5:"email";s:5:"value";s:28:"testteam@gmail.com";}s:8:"zip_code";O:8:"stdClass":2:{s:4:"name";s:8:"zip_code";s:5:"value";s:5:"86543";}s:7:"address";O:8:"stdClass":2:{s:4:"name";s:7:"address";s:5:"value";s:0:"";}s:4:"city";O:8:"stdClass":2:{s:4:"name";s:4:"city";s:5:"value";s:0:"";}s:5:"photo";O:8:"stdClass":2:{s:4:"name";s:5:"photo";s:5:"value";s:36:"4538da34-d98c-60e9-f8cf-5c24f6d9e205";}s:13:"user_language";O:8:"stdClass":2:{s:4:"name";s:13:"user_language";s:5:"value";s:5:"en_us";}s:16:"user_currency_id";O:8:"stdClass":2:{s:4:"name";s:16:"user_currency_id";s:5:"value";s:0:"";}s:13:"user_is_admin";O:8:"stdClass":2:{s:4:"name";s:13:"user_is_admin";s:5:"value";b:0;}s:20:"user_default_team_id";O:8:"stdClass":2:{s:4:"name";s:20:"user_default_team_id";s:5:"value";N;}s:23:"user_default_dateformat";O:8:"stdClass":2:{s:4:"name";s:23:"user_default_dateformat";s:5:"value";s:5:"m/d/Y";}s:23:"user_default_timeformat";O:8:"stdClass":2:{s:4:"name";s:23:"user_default_timeformat";s:5:"value";s:3:"H:i";}s:21:"user_number_seperator";O:8:"stdClass":2:{s:4:"name";s:21:"user_number_seperator";s:5:"value";s:1:",";}s:22:"user_decimal_seperator";O:8:"stdClass":2:{s:4:"name";s:22:"user_decimal_seperator";s:5:"value";s:1:".";}s:23:"mobile_max_list_entries";O:8:"stdClass":2:{s:4:"name";s:23:"mobile_max_list_entries";s:5:"value";N;}s:27:"mobile_max_subpanel_entries";O:8:"stdClass":2:{s:4:"name";s:27:"mobile_max_subpanel_entries";s:5:"value";N;}s:18:"user_currency_name";O:8:"stdClass":2:{s:4:"name";s:18:"user_currency_name";s:5:"value";s:10:"US Dollars";}}s:5:"roles";a:1:{i:0;r:12;}}s:10:" * _params";a:3:{s:8:"username";s:14:"testing.inspector";s:8:"password";s:3:"XXX";s:11:"module_name";s:5:"Users";}s:22:" MyModelModel _datasource";O:14:"SuiteConnector":14:{s:21:" SuiteConnector _host";s:91:"http://example.com/rest.php";s:25:" SuiteConnector _username";s:5:"admin";s:25:" SuiteConnector _password";s:8:"XXXXX";s:20:" SuiteConnector _ssl";b:0;s:24:" SuiteConnector _payload";s:0:"";s:28:" SuiteConnector _queryParams";a:5:{s:6:"method";s:5:"login";s:10:"input_type";s:4:"JSON";s:13:"response_type";s:4:"JSON";s:10:"session_id";N;s:9:"rest_data";s:104:"{"user_auth":{"user_name":"testing.inspector","password":"202cb962ac59075b964b07152d234b70","version":"1"}}";}s:30:" SuiteConnector _requestMethod";s:3:"GET";s:23:" SuiteConnector _method";s:5:"login";s:25:" SuiteConnector _response";s:0:"";s:26:" SuiteConnector _sessionId";N;s:23:" SuiteConnector _userId";N;s:25:" SuiteConnector _userRole";N;s:26:" SuiteConnector _systemAPI";a:6:{i:0;s:19:"arello_verification";i:1;s:11:"set_entries";i:2;s:13:"verify_number";i:3;s:11:"verify_code";i:4;s:14:"get_entry_list";i:5;s:0:"";}s:19:" SuiteConnector _ci";N;}s:16:"_name_value_list";r:22;}s:8:"username";s:14:"testing.inspector";s:5:"roles";a:1:{i:0;s:4:"user";}s:11:"permissions";a:0:{}}s:9:"validated";b:1;s:19:"fully_authenticated";b:1;}username|s:14:"testing.inspector";password|s:3:"XXX";