# phpman > man > CGI::Session::ID::static(3pm)

## NAME
    [CGI::Session::ID::static](https://www.chedong.com/phpMan.php/perldoc/CGI%3A%3ASession%3A%3AID%3A%3Astatic/markdown) - [CGI::Session](https://www.chedong.com/phpMan.php/perldoc/CGI%3A%3ASession/markdown) ID Driver for generating static IDs

## SYNOPSIS
        use [CGI::Session](https://www.chedong.com/phpMan.php/perldoc/CGI%3A%3ASession/markdown);
        $session = [CGI::Session](https://www.chedong.com/phpMan.php/perldoc/CGI%3A%3ASession/markdown)->new( 'driver:mysql;id:static', $ENV{REMOTE_ADDR}, { Handle => $dbh } );

## DESCRIPTION
    [CGI::Session::ID::static](https://www.chedong.com/phpMan.php/perldoc/CGI%3A%3ASession%3A%3AID%3A%3Astatic/markdown) is used to generate consistent, static session ID's. In other words,
    you tell [CGI::Session](https://www.chedong.com/phpMan.php/perldoc/CGI%3A%3ASession/markdown) ID you want to use, and it will honor it.

    Unlike the other ID drivers, this one requires that you provide an ID when creating the session
    object; if you pass it an undefined value, it will croak.

## COPYRIGHT
    Copyright (C) 2002 Adam Jacob <<adam@sysadminsith.org>>,

    This library is free software. You can modify and distribute it under the same terms as Perl
    itself.

## AUTHORS
    Adam Jacob <<adam@sysadminsith.org>>,

## LICENSING
    For additional support and licensing see [CGI::Session](https://www.chedong.com/phpMan.php/perldoc/CGI%3A%3ASession/markdown)

