[PHP] Re: Sessions vs passing variables

2002-07-21 Thread Chris Earle
What do you mean by pass? Using a GET method, POST, COOKIE or are you trying to do something else (other than SESSION)? Mike Mannakee [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... When I try to pass a variable from one page to another the variable is

[PHP] Re: sessions and passing variables

2002-04-08 Thread Michael Virnstein
sure. if all users should have access to this instance of your object, then you could store the serialized object in a file, everyone has access to and unserialize it if needed.But don't forget to include your object-surcecode before unserializing the object, or you'll lose your methods. If users

[PHP] Re: sessions and passing variables

2002-04-08 Thread rarmin
Michael Virnstein wrote: you also have to make sure, that only one user can access the file for writing at one time, or your data gets probably screwed. The easiest way would be storing the object not in a file but in a database, so you don't have to care about locking. Tnx for the help, and