NAME

cat_getsessdata - get data from a session

SYNOPSIS

#include <cat.h>

void *cat_getsessdata(cat_session *sess, int key);

DESCRIPTION

Returns the session data associated with the session under the key key, as set with cat_setsessdata().

If successful, the function returns a pointer to the data. If key is invalid, the function returns NULL.

SEE ALSO

cat, cat_setsessdata