From: <Mic...@nt...> - 2005-10-31 16:08:13
|
Author: MichaelDaum Date: 2005-10-31 08:06:51 -0800 (Mon, 31 Oct 2005) New Revision: 7239 Modified: twiki/branches/DEVELOP/lib/TWiki/Func.pm Log: Item809: added clearSessionValue() to Func API. Modified: twiki/branches/DEVELOP/lib/TWiki/Func.pm =================================================================== --- twiki/branches/DEVELOP/lib/TWiki/Func.pm 2005-10-31 15:38:22 UTC (rev 7238) +++ twiki/branches/DEVELOP/lib/TWiki/Func.pm 2005-10-31 16:06:51 UTC (rev 7239) @@ -102,6 +102,25 @@ =pod +---+++ clearSessionValue( $key ) -> $result + +Clear a session value via the client session module + * =$key= - Session key +Return: =$result= ="1"= if success; undef if session plugin is not installed + +*Since:* TWiki::Plugins::VERSION 1.1 + +=cut + +sub clearSessionValue { +# my( $theKey, $theValue ) = @_; + ASSERT($TWiki::Plugins::SESSION) if DEBUG; + + $TWiki::Plugins::SESSION->{client}->clearSessionValue( @_ ); +} + +=pod + ---+++ getSkin( ) -> $skin Get the skin path, set by the =SKIN= preferences variable or the =skin= CGI parameter |