ClearFoundation Tracker - ClearOS
View Issue Details
0001600ClearOSclearos-frameworkpublic2014-03-10 13:572020-05-01 08:05
bchambers 
 
normalmajorsometimes
closedwon't fix 
6.5.0 
 
0001600: set_message does not always get set in session
Strange behavior possibly related to 4K cookie limit size has been seen where set_message() function does not set data to the session object.

Echoing out some random garbage on the page over a certain size will trigger setting of the session object.

Cookie size?
http://ellislab.com/codeigniter/user-guide/libraries/sessions.html [^]

PHP output buffering?
On an unregistered box, go to registration page using ver 1.4.31 or less.

Complete form and click "Register".

Keep trying to register by clicking on Register. Nothing message will come up.

Edit /usr/clearos/apps/registration/controllers/registration.php

add:

devel_print_r($this->session->userdata);

just before

$this->page->view_form('registration/register', $data, lang('registration_registration'));

Now hammer away trying to register box...message will come up each time.
No tags attached.
Issue History
2014-03-10 13:57bchambersNew Issue
2014-03-13 13:59user2Statusnew => confirmed
2020-05-01 08:05NickHNote Added: 0014101
2020-05-01 08:05NickHStatusconfirmed => closed
2020-05-01 08:05NickHResolutionopen => won't fix

Notes
(0014101)
NickH   
2020-05-01 08:05   
This is a 6.x issue. If the issue reappears in 7.x, please raise an issue in GitLab.