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 30.071.278 Times

CGI::kSession 0.5.3

  Date Added: October 08, 2010  |  Visits: 759

CGI::kSession

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
CGI::KSESSION RELATED
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 1.1.0.0
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  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
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...
2.73 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