[Seaside] how to make bookmarkable urls?
John Pfersich
jp1660 at att.net
Sat Nov 26 19:54:33 CET 2005
I'm assuming that you're at the start of a transaction. I do it with static
pages.
At 01:05 AM 11/25/2005 -0800, you wrote:
>I'm building a seaside app that has some urls that I want to be
>bookmarkable. I have a couple questions about how to do this right.
>
>1) If I give someone a url with session keys in it, and they use it
>quickly, can they steal my session? How might I prevent this?
>2) I can generate urls that make sense to my app in a stateless way
>by doing something like:
>
>(html anchor url: (self session application basePath,
>myCleverPathAddition)) with: [html text: 'Bookmark me']
>
>but of course, clicking this will create a new session because the
>session keys are not in the url. So how do I add the session key?
>
>3) I'm figuring out how to set up the ui state in initialRequest:
>based on the url - so this is good. But where is the good place to
>arrange for bogus session keys to silently produce a new session
>rather than warn of an expired one?
>
>thanks for any help.
>_______________________________________________
>Seaside mailing list
>Seaside at lists.squeakfoundation.org
>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the Seaside
mailing list