TIP: Click on subject to list as thread! ANSI
echo: php
to: Jason Cullins
from: Hakan Medin
date: 2008-06-05 12:21:00
subject: Question

Jason Cullins -> FidoNET.PHP wrote:
> session_start();
>
> doesn't that generate a cookie, and if so, where can i set the timeout
> or expiration for that cookie?  I am working on a website that i need to
> make sure that after so long it makes the user login again for
> inactivity reasons.

You can set the lifetime with "session_set_cookie_params()".

Regards,
	H†kan

--- Thunderbird 2.0.0.14 (Windows/20080421)
* Origin: LIAL BBS http://www.lial.info (2:204/254.35)
SEEN-BY: 10/1 3 11/203 34/999 120/228 123/500 132/500 140/1 222/2 226/0
SEEN-BY: 236/150 249/303 250/306 261/20 38 100 1404 1406 1418 266/1413
SEEN-BY: 280/1027 320/119 393/68 396/45 633/260 267 712/848 800/432 801/161
SEEN-BY: 801/189 2222/700 2320/100 2905/0
@PATH: 204/254 106/1 123/500 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.