Re: [Session] SID automatically add on all pages?

From: Date: Sun, 30 Jun 2002 13:01:01 +0000
Subject: Re: [Session] SID automatically add on all pages?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-104566@lists.php.net to get a copy of this message
on 30/06/02 9:04 PM, Tim Stoop (tim@cidev.nl) wrote: > Yes, I understand. Sessions need to be started. But once they have started, > do I need to re-affirm the session on every page, or will it hold for a few > pages, until the session-variables will be used again ... Well, you really need to check out a decent article/tutorial on sessions, because it's a lot more in depth than can possible be explained here. But as a bare minimum, each page would need to call session_start() BEFORE the <HTML> tag or any other content is sent to the browser. You'd also need to register variables to the session (otherwise what's the point?) What is the session to be used for? >> simply converting your files to .php and compiling with enable-trans-sid >> will not give you sessions. > > ... when I do this? do what? Justin French

« previous php.general (#104566) next »