Posted by Benjamin Niemann on 07/20/07 14:44
Hi,
Ciaran wrote:
> "Benjamin Niemann" <pink@odahoda.de> wrote in message
> news:f7o002$fob$1@online.de...
>
>> Ciaran wrote:
>>
>>> I was wondering if it's possible to starta server session without
>>> using a browser? I'm hoping to login to my webmail account from a
>>> flash application or maybe google desktop gadget. Does anyone know if
>>> this is possible please?
>>
>> Sessions usually require a cookie store on the client-side. So in order
>> to get this working the user-agent must be able to understand the
>> 'Set-Cookie'
>> HTTP header and add the received cookie (or cookies) to every following
>> request.
>> Sometimes the session id is also passed around using a query parameter in
>> the URL - which would make things a bit easier to implement on the
>> client-side.
>
> Hmm, that doesnt sound too promising. I think my webmail program uses
> cookies to store the session. The urls are fairly simple. I was thinking
> of embedding the flash swf in a html file but I'm not sure if the google
> desktop gadgets support html. I think it might just be XML. Any ideas on
> this?
It might be possible to implement session handling with ActionScript. I've
never tried that so far and a bit of searching did not turn up any build-in
support for a 'cookie jar' in ActionScript. So it might need some
additional scripting to get this working...
And about Google Desktop Gadgets: no idea. The linux version has just been
release and so far I felt no urge to try it out.
--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/
[Back to original message]
|