Name

pkit_get_session_id — Gets the session id

Synopsis

  # the following two line are equivalent, with one difference, if the session does
  # not exist already then the second line creates a new session. The first line
  # does not.
  my $session_id = $model->pkit_get_session_id;
  my $session_id = $model->session->{_session_id};
     

Description

Gets the session id if you have set up session management using pkit_session_setup.