The PHP normally stores the session in archives on the webserver. Marking this option, you’ll modify the way how PHP manipulates these files, storing them in databases.

To keep the information from the development sessions 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 was installed. It’s called ‘sc_tbses’  where the Scriptcase will, from now on, store that 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 published 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 the database ( Postgres, SQLServer etc)

* Indicates the session utilized on the Application.

Session Register on DataBase.

Visit our blog and check out more articles like this one! Discovery the Scriptcase.

By ,

November 22, 2013

a

You might also like…

How to Create and Read QR Codes and Barcodes

“Point your cell phone camera to read the QR code.” This phrase has been increasingly recurring...

Why is Low-Code essential for any business?

Low-Code is the IT term that refers to the process of using little code to develop software and app...

“The Preventus Medical Center system has more than 222,000 patients and 115 professionals.” (DRey Solutions)

Check out how DRey Solutions uses Scriptcase to streamline and synthesize the process of maintenanc...

You might also like…

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.