>> A little newbee question : how to create a cookie with Turbine ?
>
>It's easy! create a javax.servlet.http.Cookie object and send it 
>to the browser using using data.getResponse.addCookie(cookie)


Indeed. Having such a nice mechanism as an HttpSession easily accessible from
within Turbine makes very little sense for using cookies directly though.
Session objects do use cookies for persisting data across different HTTP
requests or, equivalently, fall back to using other techniques transparently,
such as URL rewriting.

MVC within Turbine is another reason why cookies do not need to store certain
type of navigation info, as they have sometimes been used for.

If your objective is other than session tracking, it may be a good solution.

A

-----------------------------------------------------------------
        Visit our Internet site at http://www.reuters.com

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to