[Seaside] sharing sessions through links..

Julian Fitzell julian at fitzell.ca
Mon Oct 27 14:56:41 UTC 2008

On Mon, Oct 27, 2008 at 3:02 PM, sergio <sergio at village-buzz.com> wrote:
> hey, guys..
> one quick question after watching the seaside movie last night..
> pretend i have an application like ebay written in seaside..
> so, i log into my account..
> check my bids..
> then, i do a search for something..
> during that search, i find something my friend would really like..
> so i send the link to my friend..
> now.. suppose he immediately clicks it (i sent it over IM..)
> does he now have full access to my session, including my account
> information?

Unless you take action to prevent it, yes. This problem isn't unique
to Seaside, of course; any system with session keys in URLs will be
have the same problem. You can, of course, configure the session key
to be stored in cookies, which eliminates the problem. Or you can use
a WASessionProtector to prevent the IP address of the user from

Note that in either case, you would need to make sure to include
enough information in the URL via #updateUrl: that a new session could
be built pointing to the right item.


More information about the seaside mailing list