ctkSession

        The class ctkSession provides funtionalities related to session of any ctk script.

Base classes

        ctkFile
        ctkBase

Methods

Public methods
        destroy
        new
        restartSession
        restore
        save
        save_changes
        sessionFileName
Private methods
        None.
Data member
        userid
        values
Class member
        VERSION
        debug
        sessionFileNamePrefix

new

        Construct an instance of the type ctkSession.
        Arguments
                prefix
                userid
                values
                debug
        Notes
                None.

sessionFileName

        Return the standard filename of the current session.
        The file name consists of
                prefix . '_' . userid . '.txt'
        Example : ctk_session_sysadmin.txt

restartSession

        Restart the session by means of Win32::Process .
        Arguments
                command (optional, default $0)
                file name (optional)

Note

Dumper cannot handle array, ref to array must be passed!

2006 03 07 - 15:10:49 $now->year+1900, $now->mon+1,$ now->mday,

2006 03 07 - 15:10:49 $now->hour, $now->min, $now->s ec) ;

2006 03 07 - 15:10:49 return $rv;

2006 03 07 - 15:10:49 }

2006 03 07 - 15:10:49 2006 03 07 - 15:10:55 xyz 2006 03 07 - 15:10:55 uvw 2006 03 07 - 15:10:55 ijkBareword found where operator expected at (eval 90)[../ /ctkSession.pm:95] line 2, near "$@main::previousFiles" (Missing operator before main::previousFiles?)

2006 03 07 - 15:12:09 Could not restore session because of 'syntax error at (eva l 90)[..//ctkSession.pm:95] line 2, near "$@main::previousFiles " '. 2006 03 07 - 15:13:05 2006 03 07 - 15:13:05 ctkFile_test.pl is exiting Press any key to continue...


Back to index