Closed (fixed)
Project:
Hostip
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
15 Sep 2008 at 17:41 UTC
Updated:
29 Jun 2012 at 11:27 UTC
Further to #308748: Store location information in session rather than global variable, the use of a configuration setting to trigger the use of a global variable or session variable makes it difficult for other modules to use this functionality, since it could be turned off at any time by a site admin.
Instead, the variable setting should be in a function that other modules and this one can call as needed.
Comments
Comment #1
amitgoyal commentedThanks for the suggestion, Nedjo.
We have removed the use of a configuration setting to trigger the use of a global variable or session variable and implemented hook_init to set the data in session variable.
We have incorporated the changes in D6 and D7 versions. D5 version is no longer supported.