Re: [PHP4BETA] Request RE: [PHP4BETA] Docs for sessions?

From: Date: Thu, 22 Jul 1999 17:08:21 +0000
Subject: Re: [PHP4BETA] Request RE: [PHP4BETA] Docs for sessions?
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-2539@lists.php.net to get a copy of this message
> This code at the top of the page is (or prepend) is what is required to get > sessions to work with the URI_PATH method I implied that the server would perform the necessary rewriting. For example, if the client requests http://foo/bar=baz/somepage.php it would be automatically rewritten to http://foo/somepage.php?bar=baz > SO - what kick starts a session into GET mode if cookies are not supported? If a cookie with the name of the current session name was not set in the current context, SID will be automatically defined (note that this detection currently requires track_vars to be enabled). At the beginning of a session, the cookie will be send and the SID will be defined. This ensures correct propagation without doing a redirect first. > Any chance the query-string session-parser could have an option to parse the > REQUEST_URI instead/as-well? > > I think that this method is worthwhile building in to PHP4 on account of it > even works on sites with partially static content, and it is not shot down > if a programmer forgets to add <?=sid;?> to their page. <?=sid?> is enough :-) Seriously, we might add support for this. It's a nice feature. -- Regards, Sascha Schumann Consultant

« previous php.version4 (#2539) next »