As the original request was for sharing information between 2 users, Session variables won't work. The only way I can think of doing this in memory is to have a permanent script listening on a particular port and handling the data in and out, but it's probably much easier to simply use a database. It also means you can scale the application much more easily. Rob. -----Original Message----- From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On Behalf Of Blaine Sent: 30 May 2008 13:12 To: php-objects@xxxxxxxxxxxxxxx Subject: Re: How To Share Var Between Sessions For default, session it is unique by user. Remember that. On Thu, May 29, 2008 at 5:52 PM, Hari KT <kthari85@xxxxxxxxxxx> wrote: > You can use $_SESSION['variable'] = 'value'; . Please do start the session > on each page first .. > Refer php.net for more > > hossein aspanani <hossein_aspanany@xxxxxxxxx> wrote: Hi PHP Developers > > How To Share a Var (Or Any Information) Between Sessions Without DB Or File? > > ( In ASP We Can Use From 'Application' Var For Example: > <% Application["SharedVar"] = "This Is A Test"; %> ) > > Help Please > > [Non-text portions of this message have been removed] > > > > > > --------------------------------- > Bollywood, fun, friendship, sports and more. You name it, we have it. > > [Non-text portions of this message have been removed] > > -- O Blaine - What the developing /|\ shouldn't have been | thiagomata.blog.com / \ ------------------------------------ Are you looking for a PHP job? Join the PHP Professionals directory Now! http://www.phpclasses.org/professionals/Yahoo! Groups Links *********************************************************************************** Any opinions expressed in email are those of the individual and not necessarily those of the company. This email and any files transmitted with it are confidential and solely for the use of the intended recipient or entity to whom they are addressed. It may contain material protected by attorney-client privilege. If you are not the intended recipient, or a person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited. Random House Group + 44 (0) 20 7840 8400 http://www.randomhouse.co.uk http://www.booksattransworld.co.uk http://www.kidsatrandomhouse.co.uk Generic email address - enquiries@xxxxxxxxxxxxxxxxx Name & Registered Office: THE RANDOM HOUSE GROUP LIMITED 20 VAUXHALL BRIDGE ROAD LONDON SW1V 2SA Random House Group Ltd is registered in the United Kingdom with company No. 00954009, VAT number 102838980 ***********************************************************************************