Tracking strategy for default identifier
Esteban Maringolo <[email protected]> Mon, 17 Aug 2020 13:32:09 -0300
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <CAJMgPCKDh2bN6wOz4nR5J+PuM7CVvTydzLg3CG850znODCKiLQ@mail.gmail.com> |
Hi all, I recently moved to `WACookieForBrowserIPForCrawlerTrackingStrategy` tracking strategy, but I noticed that the session count was increasing beyond the actual "normal" use, suggesting a new session was being created everytime. Then I noticed that when I perform a request to the default dispatcher, it creates a new session, because the cookie is created with the app path so the browser is not sending it back when visiting the root. I have the default name for the dispatcher as: WAAdmin defaultDispatcher defaultName: 'app'. If I visit this: http://localhost:8080/app I get a new cookie (if needed) and subsequent requests don't create a new one. If I visit http://localhost:8080/ I get a new cookie (and a new session is created) each time because the cookie is created with the `/app` path. Did this happen to anyone else? Regards! Esteban A. Maringolo _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside