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.389.655 Times

CGI::kSession 0.5.3

  Date Added: October 08, 2010  |  Visits: 791


Report Broken Link
Printer Friendly Version

Product Homepage
Download (71 downloads)

CGI::kSession is a sessions manager for CGI. This module can be used anywhere you need sessions. As a session management module, it uses files with a configurable lifetime to handle your session data. For those of you familiar with PHP, you will notice that the session syntax is a little bit similar. METHODS The following public methods are availible: $s = new CGI::kSession(); The constructor, this starts the ball rolling. It can take the following hash-style parameters: lifetime - how long the session lasts, in seconds path - the directory where you want to store your session files id - if you want to give the session a non-random name, use this parameter as well $s->start(); This creates a session or resumes an old one (could be used in conjunction with something like HTTP::Cookie). This will return 1 if this is a new session, and 0 if its resuming an old one. If you defined no values in the new() call, then the session will start with a default lifetime of 600 seconds, a path of /var/tmp, and a random string for an id. $s->save_path(); Save the session path or, without an argument, return the current session path. Used with an argument, this performs the same thing as the path parameter in the constructor. $s->id(); If the session id exists, this will return the current session id - useful if you want to maintain state with a cookie! If you pass a parameter, it acts the same as new( id => some_session_name), i.e., it creates a session with that id. $s->register(); This takes a string as an arguement and basically tells the session object this: "Hey, this is a variable Im thinking about associating with some data down the road. Hang onto it for me, and Ill let you know what Im going to do with it". Once you register a variable name here, you can use it in set() and get(). $s->is_registered(); Check to see if the function is registered. Returns 1 for true, 0 for false. $s->unregister(); Tell the session jinn that you no longer want to use this variable, and it can go back in the bottle (the variable, not the jinn... you still want the jinn around until you call destroy()). $s->set(); This is where you actually define your variables (once you have "reserved" them using register()). This method takes two arguments: the first is the name of the variable that you registerd, and the second is the info you want to store in the variable. $s->get(); This method allows you to access the data that you have saved in a session - just pass it the name of the variable that you set(). $s->unset(); Calling this method will wipe all the variables stored in your session. $s->destroy(); This method deletes the session file, destroys all the evidence, and skips bail. Whats New in This Release: - updated the documentation.

Requirements: No special requirements
Platforms: Linux
Keyword: Cgi Cgiksession Id Libraries Path Programming S- Session Sessions Variable Want To You Want To
Users rating: 0/10

License: Freeware Size: 4.1 KB
More Reviews or Write Review

Games  -  Cat's Run 1.0
Cat's run is a dodge game. You need to dodge the dog to increase your score. Many various backgrounds Funny sprites Original soundtrack Requirements: iOS 4.1 or later. Compatible with iPhone, iPad, and iPod touch.
2.5 MB  
Games  -  LabRATory - The tantalizing 2D comic action adventure 2.1.3
Rats certainly don't have it easy - especially not when you're hungry for cheese and stuck in a laboratory cage. But there's a solution for everything - which you have to find! Your task sounds simple: help the rats to find the way to the...
57.7 MB  
Utilities  -  Celloney Free 1.2
This application allow you track your money which you pay or earn everyday, it's simple and traditional look let you easy to use and help you control your payment for your home and business. Requirements: iOS 5.0 or later. Compatible with...
2.4 MB  
Photo & Video  -  Christmasfy Me 2.0
Would you like to christmasfy you or your friends and family's pictures for the Christmas? Would you like to do that without having to learn how to use boring and complex applications? Then Christmasfy Me is the perfect Christmas app for...
4.1 MB  
Education  -  English Verbs!! 1.02
Play your way through ENGLISH GRAMMAR practice with this awesome GAME that's right, a game. Seriously.? If you need to improve English as a Second Language, or even if you need to brush up your skills for American conversation, grab this FUN...
30.1 MB  
Utilities  -  Hamilton Captel 1.8
The Hamilton CapTel App is designed exclusively for individuals who have difficulty hearing over the telephone. With this app, you may listen to your phone conversations while reading word-for-word captions of what's said to you - similar to...
1.5 MB  
Social Networking  -  LatitudeMe 1.0.4
A quick and easy way to discover wich Facebook events your friends attending! What's the point of LatitudeMe? Do you want to know which events your fiends will attend? LatitudeMe, through a simple and user-friendly interface, will help...
10.3 MB  
Games  -  My Dog My Style HD 2.10
***NEW UPDATED*** Fixed some issues. ***************** Let's coordinate your own puppy! When you go to the Park, Yacht Harbor, and Flower garden, you can see many types of puppies and kittens. When you take care the puppy in...
44 MB  
Finance  -  Ramirent Investor Relations 1.0
Ramirent's app with push function gives you access to the latest news, including press releases, financial reports, stock quotes and other company related information. Everything quickly and easily right into your mobile device. To discover more,...
20 MB  
Games  -  Avoid the Coconuts
IT'S GOOD FREE GAME!! Play where you want, when you want. Make your best score, and do not let yourself to be hit by coconuts Avoid the Coconuts is a simple game designed for mobile devices running Windows Phone. Your job as a...
7 MB  
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