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

Boris Popov boris at deepcovelabs.com
Thu Jun 22 19:08:54 UTC 2006


Not sure how far back this feature goes, I imagine quite far, but you never
know. I just configured it in the #initialize via,

(self registerAsApplication: 'raven')
  preferenceAt: #useSessionCookie put: true;
  yourself

And yes, the _k remains as a parameter, of course.

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.

-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Mark
Aufflick
Sent: Thursday, June 22, 2006 12:01 PM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] Toolbar's "New Session" fix for cookies

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
_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3370 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20060622/3ef19898/smime-0001.bin


More information about the Seaside mailing list