RE: [PHP4BETA] hidden variables !<form>
[email protected] ("Baeseman, Cliff") Wed, 7 Jun 2000 13:43:32 -0500
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
I personally use a database to hold named variables in a table. To eliminate the need for cookies I generate a crypted session id and just pass that in a hidden field. The crypted session id is used to grab the values back from the table. I also track the time in seconds since the last read or access of the variable to enforce a timeout of the session. All access methods of the class first call a method that deletes all expired session keys. I guess it would be possible to somehow hijack a sessionID but because of the encryption and session expiration it would be very diffficult. Just another way to do it I guess. Cliff Baeseman -----Original Message----- From: Curt Zirzow [mailto:[email protected]] Sent: Wednesday, June 07, 2000 6:16 AM To: Douglas Clifton Cc: [email protected] Subject: Re: [PHP4BETA] hidden variables !<form> > > that pass several hidden variables through from page to > page w/o using forms or cookies. hmm... It seems you've eliminated all the ways http protocol passes data :) But... check out the session handling functions provided by php. That is probably the easiest solution. curt -- Any time things appear to be going better, you have overlooked something. -- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] To contact the list administrators, e-mail: [email protected]