This repository has been archived on 2025-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
php-frs/lib/Frs/SessionManager.php

18 lines
251 B
PHP

<?php
namespace Frs;
class SessionManager
{
public function __construct()
{
session_start();
}
public function storeFormData($form_type)
{
$skey = 'form_' . $form_type;
$_SESSION[$skey] = $_POST;
}
}