NO NO NO NO NO NO NO NO
NEVER use long

varchar2 for < 4k
or clob for longer

does long still exist in oracle9 ????
i thought it is supposed to be left out
( as soon as possible )

to your question at first :
why don't you try to overwrite the php session handling funktions?
serialisation is done by them and you need just to save in db
look here : http://www.phpbuilder.net/columns/ying20000602.php3
i always wanted to do that, but newer did...
if you make it code snipplets are welcome
:-]

sebastian


> -----Ursprüngliche Nachricht-----
> Von: infoz [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 26. Juni 2001 12:42
> An: Michael Champagne; PHP General Mailing List
> Betreff: Re: [PHP] Help with PHP/Oracle and serializing data
> 
> 
> 
> If the data will be less than ~4K, use 'varchar2', otherwise 
> use 'long'.
> 
> - Tim
>   http://www.phptemplates.org
> 
> ----- Original Message -----
> From: "Michael Champagne" <[EMAIL PROTECTED]>
> To: "PHP General Mailing List" <[EMAIL PROTECTED]>
> Sent: Monday, June 25, 2001 2:42 PM
> Subject: [PHP] Help with PHP/Oracle and serializing data
> 
> 
> > I'm developing a web application and would like to be able 
> to store the
> state
> > of the application in an Oracle table by serializing a 
> bunch of variables
> and
> > storing them in the database.  Has anyone done this?  What 
> datatype would
> be
> > best to use here?  I'm not serializing too much data now, but other
> > applications that we do in the future may.  Would this be a 
> place to use a
> > CLOB or should I stick with varchar2?  Thanks!
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: 
> [EMAIL PROTECTED]
> 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to