[Phplib-users] Proposed changes to session
Brought to you by:
nhruby,
richardarcher
From: Rob H. <rob...@ws...> - 2002-12-09 13:34:51
|
1) allow_auto_mode_change = boolean : If set to True, this allows the mode to change based on the method that the session ID was submitted. The order of checking would be cookie, get, post. If set to false, the session would return an error if the method did not match the previous mode or multiple modes were set. Either setting would return an error if the method was not in the supported_modes array. 2) sess( supported_modes = array()) : supported_modes specifies the list of modes supported by this session type. This would replace the mode and fallback_mode variables. 3) sess->transform(session_class = class) : Transform the current session variable into type session_class. This would allow the session variables to be moved to type session_class in case you need one class to handle "public" areas and one to handle "private" areas for example with more securty. Rob Hutton Web Safe www.wsafe.com ********************************************************************** Introducing Symantec Client Security - Integrated Anti-Virus, Firewall, and Intrusion Detection for the Client. Learn more: http://enterprisesecurity.symantec.com/symes238.cfm?JID=2&PID=11624271 |