Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

session expire?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

session expire?

Postby DigitalRice » Thu Jul 24, 2003 9:22 pm

quick question, how long is the session is last once it is started?
<?php session_start(); ?>

can i set the duration of the session?
New php-forum User
New php-forum User
Posts: 29
Joined: Fri Jun 27, 2003 10:05 pm

Postby Joel » Thu Jul 24, 2003 11:06 pm

You set it in the php.ini, under the "[Sessions]" section.
New php-forum User
New php-forum User
Posts: 193
Joined: Sat Mar 29, 2003 11:57 pm
Location: Auckland, New Zealand

Postby swirlee » Fri Jul 25, 2003 5:37 am

You can also set it using ini_set().
User avatar
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.