LEGAL

#===========================================================================

Copyright (C) 2008 by Nik Ogura. All rights reserved. Much of this was taken from PlainBlack's WebGUI with many thanks.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Bug reports and comments to nik.ogura@gmail.com.

#===========================================================================

NAME

CGI::Lazy::ID

SYNOPSIS

my $id = $session->id->generate();

DESCRIPTION

Module to generate unique id's. Inspiration and ideas for this module, and even code itself was taken from PlainBlack's WebGUI with many thanks and much appreciation. WebGUI was awesome, but far heavier a tool than what was needed.

METHODS

generate ( )

Generates a unique identifier.

session ( )

Returns the session object this object was created with.

new ( session )

Constructor.

session

CGI::Lazy::Session object

valid ($sessionID)

Returns true if $sessionID is a valid id string