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 [hidden email] 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 [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside smime.p7s (4K) Download Attachment |
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 <[hidden email]> 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 > > [hidden email] > > 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 > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > -- Mark Aufflick e: [hidden email] w: mark.aufflick.com p: +61 438 700 647 f: +61 2 9436 4737 _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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 [hidden email] 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: [hidden email] [mailto:[hidden email]] 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 <[hidden email]> 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 > > [hidden email] > > 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 > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > -- Mark Aufflick e: [hidden email] w: mark.aufflick.com p: +61 438 700 647 f: +61 2 9436 4737 _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside smime.p7s (4K) Download Attachment |
Free forum by Nabble | Edit this page |