EasySession 2.0.0
Sponsored Links
EasySession 2.0.0 Ranking & Summary
File size:
0.014 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
823
Date added:
2007-07-25
Publisher:
QIAN YU
EasySession 2.0.0 description
EasySession is a Perl session interface.
SYNOPSIS
use EasySession;
if(defined(&EasySession::foo)){
print "lib is included";
}else{
print "lib is not included";
}
#{"_sid" => "B43b648fd431aac32", "a" => 1, "b" => 2}
print EasyTool::dump(create($dba,{a=>1,b=>2,c=>undef},{expire=>300}));
$dba->execute(START TRANSACTION);
my $st=CORE::time();
for(1..10000){
create($dba,{a=>1,b=>2,c=>undef},{});
}
print CORE::time()-$st;
$dba->execute(COMMIT);
print EasyTool::dump(&delete($dba,{"_sid" => "43ba09e0abd5cf13", "a" => 1, "b" => 2}));
print EasyTool::dump(&delete($dba,"43ba08a74fbe7afa"));
print EasyTool::dump(&save($dba,{"_sid" => "43ba08a74fbe7afa", "a" => 1, "b" => 2,"c"=>3}));
Basic Variables and Functions
Variables
$dba: instance of EasyDBAccess
$rh : the hash_ref to store to database
$session: $rh with key _sid
$sid: session id ([0-9a-fA-F]{8})([0-9a-fA-F]{8})
$rc : affected rows 0 or 1
$rh_option:
now => unix timestamp of now
expire => expire time after last modify
ip => ip address (int)
Functions
$session=create($dba,$rh,$rh_option);
$session=load($dba,$sid,$rh_option);
$rc =save($dba,$session,$rh_option);
#if succ return 1,if fail(no row update) return 0
#if record exist, then update, else do nothing
$rc =delete($dba , $sid|$session [,$rh_option]);
#if succ return 1,if fail(no row delete) return 0
#if record exist, then delete, else do nothing
SYNOPSIS
use EasySession;
if(defined(&EasySession::foo)){
print "lib is included";
}else{
print "lib is not included";
}
#{"_sid" => "B43b648fd431aac32", "a" => 1, "b" => 2}
print EasyTool::dump(create($dba,{a=>1,b=>2,c=>undef},{expire=>300}));
$dba->execute(START TRANSACTION);
my $st=CORE::time();
for(1..10000){
create($dba,{a=>1,b=>2,c=>undef},{});
}
print CORE::time()-$st;
$dba->execute(COMMIT);
print EasyTool::dump(&delete($dba,{"_sid" => "43ba09e0abd5cf13", "a" => 1, "b" => 2}));
print EasyTool::dump(&delete($dba,"43ba08a74fbe7afa"));
print EasyTool::dump(&save($dba,{"_sid" => "43ba08a74fbe7afa", "a" => 1, "b" => 2,"c"=>3}));
Basic Variables and Functions
Variables
$dba: instance of EasyDBAccess
$rh : the hash_ref to store to database
$session: $rh with key _sid
$sid: session id ([0-9a-fA-F]{8})([0-9a-fA-F]{8})
$rc : affected rows 0 or 1
$rh_option:
now => unix timestamp of now
expire => expire time after last modify
ip => ip address (int)
Functions
$session=create($dba,$rh,$rh_option);
$session=load($dba,$sid,$rh_option);
$rc =save($dba,$session,$rh_option);
#if succ return 1,if fail(no row update) return 0
#if record exist, then update, else do nothing
$rc =delete($dba , $sid|$session [,$rh_option]);
#if succ return 1,if fail(no row delete) return 0
#if record exist, then delete, else do nothing
EasySession 2.0.0 Screenshot
EasySession 2.0.0 Keywords
EasySession
EasyTool
EasySession 2.0.0
Dba
session
rh
print
Sid
1
EasySession 2.0.0
Libraries
Programming
Bookmark EasySession 2.0.0
EasySession 2.0.0 Copyright
WareSeeker periodically updates pricing and software information of EasySession 2.0.0 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of EasySession 2.0.0 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
sessions at aol
aol sessions
sessions clocks
sessions
sessions clothing
facebook login page user session key
printers
session linkin park
general session court
sessions clock company
session road
printer
session 9
session keyboardists
printable calendars
jeff sessions
lamson sessions
session3_initialization_failed
Related Software
marokFS-session is an Amarok script that lets you start your "Amarok" from KDM with "AmarokFS" in fullscreenmode. Free Download
App::Session can represents a sequence of multiple events perhaps executed in separate processes. Free Download
Sessinfo is a Gnome Session Information Display. Free Download
Yed is a C library of objects that handle filesystems, XML data, FTP connections, etc. Free Download
POE::Session is a Perl module for event driven abstract state machine. Free Download
ROX-Session is a simple session manager. Free Download
cvs2svn is a Python script that converts a CVS repository to a Subversion repository. Free Download
PHP::Session is a Perl module to read / write PHP session files. Free Download
Latest Software
Popular Software
Favourite Software