MasterVitronic / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

invalidate the PHP session cache when changing default setting #406

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. change default settings
2. try to do stuff, assuming new settings are there because they show in the 
GUI on retrieval.
3. bang head against wall

What is the expected output? What do you see instead?

I expected the settings changes to take effect.  After a whole bunch of 
strace-ing of apache and php debugging, I tracked it down to start_session(), 
which was pulling the old variables from the cache.  At that point it was 
immediately obvious that a logout/log in would cause the settings to take 
effect.  But that shouldn't be necessary, or a the very least we need big 
warning text that it is.

What version of the product are you using? On what operating system?

3.2 / trunk

Please provide any additional information below.

Original issue reported on code.google.com by flowe...@gmail.com on 15 Apr 2013 at 5:30

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
"2. try to do stuff, assuming new settings are there because they show in the 
GUI on retrieval."

Bad assumption.

"logout/log in would cause the settings to take effect."

This has always been required since default settings was created. It may be 
improved in the future as time permits.

This is covered in the FusionPBX training come support the project and learn 
how to use it. http://fusionbpx.com for details about the next class.

Original comment by markjcrane@gmail.com on 15 Apr 2013 at 4:04