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

Carl Gundel carlg at libertybasic.com
Thu Jun 25 16:24:25 UTC 2009


On Jun 24, 2009, at 6:09 PM, Michael Lucas-Smith 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.

Thanks.  That seemed to do the trick.

-Carl


More information about the seaside mailing list