Parameters
| Name | Type | Mode |
|---|---|---|
| p_user_id | integer | IN |
| p_expires_at | timestamp without time zone | IN |
| p_ip_address | text | IN |
| p_user_agent | text | IN |
| p_device_info | text | IN |
Creates a new user session with device information and expiration time. Returns the created session record.
| Name | Type | Mode |
|---|---|---|
| p_user_id | integer | IN |
| p_expires_at | timestamp without time zone | IN |
| p_ip_address | text | IN |
| p_user_agent | text | IN |
| p_device_info | text | IN |