[Seaside] [2.8]Back button, new sessions and forcing s and k keys in the initial URL

Julian Fitzell jfitzell at gmail.com
Wed Jun 24 23:09:24 UTC 2009


On Wed, Jun 24, 2009 at 11:09 PM, Michael Lucas-Smith <
mlucas-smith at cincom.com> wrote:

> Carl Gundel wrote:
>
>> I'm writing an A/B testing framework in Seaside.  All is going very well
>> except that I've discovered if a visitor to the site being tested hits the
>> back button all the way back to the initial page then there is no s key in
>> the URL, so Seaside makes a new session.  This will cause my visitor click
>> tracking to lose track.  It wouldn't be a big problem if I were able to get
>> the visitor's IP address, but I can't because this server will be proxied
>> behind Apache.
>>
>> So, is there any way I can force the initial page view to have the s and k
>> keys?
>>
>>  Make your initial page a WATask which calls your first WAComponent.
>

In 2.8. I think that redirect is no longer there in 2.9. But you could still
use a Task and put "self requestContext redirect" at the beginning.

Julian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090625/5551f52a/attachment-0001.htm


More information about the seaside mailing list