Cookies - sessions- Ruby

Hi,

In the cookies file, i have my settings to connect to an site.

User, password, cid and sid.
The problem is the sid, that change everytime depending if i have
connected again or closed the browser.

Is it possible to programs something dynamically, so that in my rb file
the sid is picked up automatically?

For instance i’m connected to this site through my ruby program.
Now if i log in on an other computer my ruby programs fail, because the
sid is not correct anymore.

could ask this on the rails list. I think the answer might be Restful
or something like that.

Which list is this?
thnx

Roger P. schreef:

Avdi G. schreef:

On Mon, Apr 28, 2008 at 12:30 PM, Fred [email protected] wrote:

Which list is this?

This is the Ruby language list. You can find the Rails mailing list here:
http://groups.google.com/group/rubyonrails-talk

Thank you

Herb Martin schreef:

Is it possible to programs something dynamically, so that in my rb file
the sid is picked up automatically?

For instance i’m connected to this site through my ruby program.
Now if i log in on an other computer my ruby programs fail, because the
sid is not correct anymore.

Google: [ ruby libcurl ]

I can’t get this too work.
Thnx anyway

On Mon, Apr 28, 2008 at 12:30 PM, Fred [email protected] wrote:

Which list is this?

This is the Ruby language list. You can find the Rails mailing list
here:
http://groups.google.com/group/rubyonrails-talk


Avdi

Home: http://avdi.org
Developer Blog: Avdi Grimm, Code Cleric
Twitter: http://twitter.com/avdi
Journal: http://avdi.livejournal.com

curl allows you to save cookies to a file then reload them, if that’s
useful.
What exactly are you trying to accomplish?

Roger P. schreef:

curl allows you to save cookies to a file then reload them, if that’s useful.
What exactly are you trying to accomplish?

Google: [ ruby libcurl ]

Hi,

In the cookies file, i have my settings to connect to an site.

User, password, cid and sid.
The problem is the sid, that change everytime depending if i have
connected again or closed the browser.

Is it possible to programs something dynamically, so that in my rb file
the sid is picked up automatically?

For instance i’m connected to this site through my ruby program.
Now if i log in on an other computer my ruby programs fail, because the
sid is not correct anymore.