ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001600ClearOSclearos-frameworkpublic2014-03-10 13:572020-05-01 08:05
Reporterbchambers 
Assigned To 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version6.5.0 
Target VersionFixed in Version 
Summary0001600: set_message does not always get set in session
DescriptionStrange 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?
Steps To ReproduceOn 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0014101)
NickH (developer)
2020-05-01 08:05

This is a 6.x issue. If the issue reappears in 7.x, please raise an issue in GitLab.

- Issue History
Date Modified Username Field Change
2014-03-10 13:57 bchambers New Issue
2014-03-13 13:59 user2 Status new => confirmed
2020-05-01 08:05 NickH Note Added: 0014101
2020-05-01 08:05 NickH Status confirmed => closed
2020-05-01 08:05 NickH Resolution open => won't fix