On Wed, Oct 31, 2001 at 05:58:34PM -0800, Tavis Rudd wrote: > On Wednesday 31 October 2001 16:43, Chuck Esterbrook wrote: > > At 05:48 PM 10/31/2001 +0000, [EMAIL PROTECTED] wrote: > > >Did anyone get anywhere in implementing non-cookie identification > > >mechanisms in Webware? ;-) > > What are the options? How does PHP implement 'transparent session > handling'?
1) Session ID in a cookie. 2) Session ID in a GET parameter. 3) Session ID in a hidden form field. 4) Session ID in a path component (superdirectory). PHP itself doesn't provide sessions. PHPLib (a third-party set of classes) does. It automatically switches between (1) and (2) whenever you turn cookies on and off. However, getting your application to support (2) is a huge pain. We did it for one site but skipped it for the latest site. You can't just hardcode URLs in your pages. Instead, every URL has to go through a function that appends the session ID if necessary. This means using a template variable for every single URL, even when you wouldn't normally. Don't forget FORM ACTIONs. (4) is quite intriguing and may end up being the way of the future. It was recently added to Webware, and there are proposals pending to allow multiple CGI variables to be encoded this way. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
