Session handling busted on Oracle
Berger, Daniel
Daniel.Berger at qwest.com
Mon Oct 8 15:05:20 EDT 2007
> -----Original Message-----
> From: camping-list-bounces at rubyforge.org
> [mailto:camping-list-bounces at rubyforge.org] On Behalf Of
> Jonas Pfenniger
> Sent: Monday, October 08, 2007 12:23 PM
> To: camping-list at rubyforge.org
> Subject: Re: Session handling busted on Oracle
>
>
> 2007/10/8, Berger, Daniel <Daniel.Berger at qwest.com>:
> > Was there something else I should have used?
>
> Well technically, the id field is not necessary anymore. I
> don't know how AR will react if it is set. Also, are you sure
> that you are using camping from trunk ?
>
> Btw, here is the schema I have on sqlite :
>
> CREATE TABLE sessions ("hashid" varchar(32) NOT NULL,
> "created_at" datetime DEFAULT NULL, "ivars" text DEFAULT NULL);
Ok, this is what I went with:
CREATE TABLE sessions (
hashid varchar(32) NOT NULL,
created_at date DEFAULT NULL,
ivars varchar(256) DEFAULT NULL
);
It seems to be working, so I'm guessing that the id field was indeed the
culprit.
We'll see how it goes. Many thanks!
Dan
This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
More information about the Camping-list
mailing list