Previous Topic Next Topic
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view


Dirk Verleysen-2
Een HTML-bijlage is verwijderd...
------------- volgend deel ------------
Een niet-tekst bijlage is verwijderd...
Naam: dirk.vcf
Type: text/x-vcard
Grootte: 239 bytes
Omschrijving: niet beschikbaar
Url : 

Reply | Threaded
Open this post in threaded view


Janko Mivšek
Hi Dirk,

Dirk Verleysen wrote:

> Do you have an example on how to use cookies with Aida ? I want a user
> who revisites the website directly logs in to the site.

He will actually stay logged-in already, because Aida cookie will stay
in his browser and on the other side his session will stay stored on Aida.

Otherwise look at:

- WebSessionManager findOrMakeSessionFor: aRequest, where cookie is used
   for finding existing session
- AIDASite addResponseHeadersTo:forPage:on: where setCookie header is
   put in response in case session hasn't yet a cookie.

Best regards

Janko Miv?ek
Smalltalk Web Application Server