[FX.php List] Using cookies/not using cookies

Kevin Futter kfutter at sbc.melb.catholic.edu.au
Tue May 15 16:49:52 MDT 2007


On 16/5/07 8:25 AM, "Bob Patin" <bob at patin.com> wrote:

> Does anyone know
> 
> a) if I turn off "session.use_cookies" will I still be able to use session
> variables, and if so, where do they get stored on the client's browser?
> 
> b) how would I do that in OS X Server (I can use Terminal, but minimally... )?
> 
> Thanks,
> 
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> 

Bob,

As I understand it, changing that setting in PHP.ini toggles whether or not
PHP will use client-side cookies to track session info. If you turn it off,
PHP will use GET strings to pass the session ID between pages (it¹s not
stored anywhere on the client). You end up with all your URLs appended with
something like ³PHPSESSID....² or somesuch. In either case, PHP stores the
session ID on the server, but in the case of client cookies not being
available, it also stores a temporary cookie on the server for that session,
and tracks the user via the GET session ID.

Again, this is how I understand it, someone else may know more.

-- 
Kevin Futter
Webmaster, St. Bernard's College
http://www.sbc.melb.catholic.edu.au/


#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
#####################################################################################

This e-mail and any attachments may be confidential. You must not disclose or use the information in this e-mail if you are not the intended recipient. If you have received this e-mail in error, please notify us immediately and delete the e-mail and all copies. The College does not guarantee that this e-mail is virus or error free.  The attached files are provided and may only be used on the basis that the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether caused by the negligence of the sender or not. The content and opinions in this e-mail are not necessarily those of the College.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20070516/a7c555b7/attachment.html


More information about the FX.php_List mailing list