NAME

NetReg::Cookie - Cookie sessions for NetReg


SYNOPSIS

    use Net::NetReg::Cookie;


DESCRIPTION

This module provides cookie sessions for NetReg CGI scripts, used to preserve state so that users only have to authenticate once per session.


METHODS

capture_env( )

Reduces environmental variables to a single string.

decrypt( KEY, CIPHERTEXT )

Decrypts data.

delete_session( SESSION_ID )

Delete an old session.

encrypt( KEY, PLAINTEXXT )

Encrypts data.

get_session( SESSION_ID )

Reconnects to a session and returns the session data.

new_session( HREF )

Created a new session and returns the ID. Optionally takes a hash reference of data to populate the session with.

purge_sessions( )

Remove all expired sessions from the temporary storage.

update_session( SESSION_REF, DATA_REF )

Reconnects to a session and updates data stored in it.