Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.290.532 Times

EasySession 2.0.0

  Date Added: September 23, 2010  |  Visits: 505

EasySession

Report Broken Link
Printer Friendly Version


Product Homepage
Download (70 downloads)

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.

Requirements: No special requirements
Platforms: Linux
Keyword: Easysession Easytool Libraries Print Programming Rh Session Sid
Users rating: 0/10

License: Freeware Size: 14.34 KB
EASYSESSION RELATED
Libraries  -  JsHttpRequest 5.0
JsHttpRequest project is an easy-to-use cross-browser AJAX library with AJAX file uploading support and many other features. JsHttpRequest first appeared as cross-browser analogue of XMLHttpRequest, and then became a very useful instrument to...
122.88 KB  
Graphics Viewers  -  gThumb for Linux 2.90.2
gThumb is an image viewer and browser for the GNOME Desktop. It also includes an importer tool for transferring photos from cameras. gThumb is available for most Linux distributions, just do a search for gthumb in the package manager. Ubuntu...
5.51 MB  
Utilities  -  colorconsole For Linux 0.6
Python comes with batteries included, but console applications have no color. This project brings a very simple interface to colored console output. It does not replace curses or more sophisticated libraries. If you just need to print colored text...
10.24 KB  
Libraries  -  App::Session 0.962
App::Session can represents a sequence of multiple events perhaps executed in separate processes. SYNOPSIS # ... official way to get a Session object ... use App; $session = App->context(); $context = $session->session(); # get the session...
73.73 KB  
Libraries  -  CGI::Application::Plugin::Authentication::Store::Session 0.12
CGI::Application::Plugin::Authentication::Store::Session is a session based store. SYNOPSIS use base qw(CGI::Application); use CGI::Application::Plugin::Session; use CGI::Application::Plugin::Authentication; __PACKAGE__->authen->config(...
48.13 KB  
Printer Tools  -  Raw Print Server 1.0
Raw Print Server project is a "raw" print server that makes it possible for a computer to act as a "Socket API" or "AppSocket" print server. This software would not exist without Sam Rushings excellent asyncore module, nor would it exist without...
28.67 KB  
Libraries  -  Aw::Admin 0.16.7
Aw::Admin is a Perl extension for the ActiveWorks C Administration Libraries. SYNOPSIS use Aw MyFavoriteBroker@my.host.net:6449; require Aw::Admin::ServerClient; my $desc = new Aw::ConnectionDescriptor; my $server = new...
122.88 KB  
Libraries  -  jZeno 1.0.36
jZeno is a meta-project that integrates a collection of java open source libraries, to form a ready-to-use web development environment. jZeno is made to allow people to create web applications by using pure java development as much as possible....
31 MB  
Libraries  -  Lemonldap::Portal::Session 0.01
Lemonldap::Portal::Session is a Perl extension for Lemonldap websso. SYNOPSIS use Lemonldap::Portal::Session; my $paramxml = $test->{DefinitionSession} ; # $test is the result of XML parsing my $obj = Lemonldap::Portal::Session->init...
5.12 KB  
Libraries  -  GNU Classpath 0.95
GNU Classpath (essential libraries for Java) is a project to create free core class libraries for use with virtual machines and compilers for the Java programming language. GNU Classpath project includes all native methods and core classes...
6.5 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB