[Seaside] Toolbar's "New Session" fix for cookies

Mark Aufflick mark-st at aufflick.com
Thu Jun 22 19:00:51 UTC 2006


Hi Boris,

How do you switch to cookie sessions? Is this only in the latest
Seaside (as opposed to the release from SqueakMap)?

Aside from the obvious, are there any issues with cookie sessions? It
would certainly enhance the ability to make bookmarkable pages, I'm
assuming the _k still remains as an url parameter?

Cheers,

Mark.

On 6/23/06, Boris Popov <boris at deepcovelabs.com> wrote:
> Whenever I switch the application to use session cookies instead of URL
> token, the New Session on the toolbar no longer works, the fix is to replace
> the anchor in renderToolbarOn: with,
>
>
> html
>  anchorWithCallback:
>         [(self session)
>                 expire;
>                 redirectTo: self session newSessionUrl]
>  do: [html text: 'New Session']
>
> Hope this helps,
>
> -Boris
>
> --
> +1.604.689.0322
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
>
> boris at deepcovelabs.com
>
> CONFIDENTIALITY NOTICE
>
> This email is intended only for the persons named in the message
> header. Unless otherwise indicated, it contains information that is
> private and confidential. If you have received it in error, please
> notify the sender and delete the entire message including any
> attachments.
>
> Thank you.
>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>
>


-- 
Mark Aufflick
 e: mark at pumptheory.com
 w: mark.aufflick.com
 p: +61 438 700 647
 f: +61 2 9436 4737


More information about the Seaside mailing list