[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Possible to have Hobbit retain and use cookies?
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Possible to have Hobbit retain and use cookies?
- From: Buchan Milne <bgmilne (at) staff.telkomsa.net>
- Date: Wed, 12 Mar 2008 15:14:54 +0200
- Cc: "Martin Rogers" <martin.e.rogers (at) googlemail.com>
- References: <952f1c2b0803120322v7f71929bq53f13557fee81ad3 (at) mail.gmail.com> <20080312103355.GA3208 (at) cgoyard1.exp75.cvf> <952f1c2b0803120348n33332ac8p3afc8b5aaed97f52 (at) mail.gmail.com>
- User-agent: KMail/1.9.9
On Wednesday 12 March 2008 12:48:20 Martin Rogers wrote:
> Thanks for that rapid reply!
>
> However we've looked at that option and if I understand it correctly that
> would allow us to create a cookie in advance and read it from the file.
> The problem we have is that we have 4 weblogic servers, each of which will
> generate a cookie automatically on the first request from Hobbit and return
> it with the http response. Writing the cookie in advance is not an option
> as it would not be recognised as a valid session cookie by any of the
> weblogic instances.
>
> What we need Hobbit to do is to read the cookie on the first response and
> use it on subsequent calls to that domain.. i.e. to emulate a browser.
>
> Is it possible to do that without a code change? (our last resort!)
It is not possible with Hobbit only at present, but it is quite trivial to
write a script that uses curl, that would work.
We test our webmail systems, which require a login (returning a cookie), and
an inbox view (which requires the cookie) this way.
Regards,
Buchan