The PHP normally storage the session  in archives on the web server. Marking this option, you’ll modify the way how the PHP manipulates theses files, storing in databases.

To keep the informations from the development session on Scriptcase, Access the menu (Config ->Admin). On the System Configuration mark the option where you utilize the database session as (SIM), right after, clique on the button “Actualize”.

When you finish this stage, the Scriptcase will create a form on the database where the Scriptcase itself were installed. It’s call ‘sc_tbses’  where the Scriptcase will, from now on, storage those information on that form.

Utilizing database session ( production:

Utilizing the Scriptcase on production, it is necessary to have in your database a form to keep all sessions of the publish application.

Bellow a script of a Create on MySQL:

CREATE TABLE `sc_tbsess` (
`sess_id` varchar(32) NOT NULL default ”,
`sess_last_access` varchar(32) default NULL,
`sess_data` text,
PRIMARY KEY (`sess_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

 

Connection(PROD): Accomplished connection on production name

Form Name: Inform the name of the form where you will keep all the session information

Scheme Name: Inform the name of the Schema from database ( Postgres, SQLServer etc)

* Indicates the session utilized on the Application.

Session Register on DataBase.

You might also like…

How to implement A2F using Own Development in NodeJS in a Scriptcase application

A2F using Own Development in NodeJS A2F: In a previous article, we talked about Swivel as an extern...

Specialists or generalists, who gets a better advantage by using Scriptcase?

Hey there! Today  we will figure what are the ideal profiles for those who wish to take advantage o...

Disabling autofill and autocomplete Chrome browser in login screens

Hello, here I want to show an alternative to disable the autofill and autocomplete of the chrome bro...

Comment this post

Get new posts, resources, offers and more each week.

We will use the information you provide to update you about our Newsletter and Special Offers. You can unsubscribe any time you want by clinck in a link in the footer of any email you receive from us, or by contacting us at sales@scriptcase.net. Learn more about our Privacy Police.