[Seaside] Link'ed resources come in via new sessions?

Boris Popov boris at deepcovelabs.com
Mon Jun 26 19:13:23 UTC 2006


Thanks, Avi, I couldn't have asked for a better explanation.

Cheers!

-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 Avi Bryant
Sent: Monday, June 26, 2006 12:07 PM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] Link'ed resources come in via new sessions?


On Jun 26, 2006, at 11:02 AM, Boris Popov wrote:

> Hmm, I guess I really don't understand what _s and _k signify as  
> changing
> handlerField to _k broke a few things with semantically invalid  
> redirects :)
> Any pointers on where I could read up more on these?

_s references the specific RequestHandler registered with the  
application.  If this is a Session, then _k references the specific  
continuation within that session.  _k is meaningless for any other  
kind of handler.

The _s for the session can be stored in cookies, but not the _s for  
any other handler.  The reason the stylesheets etc are separate  
request handlers rather than being within the session is a) they  
should be cached longer than an individual session's lifetime and b)  
sessions can only process one request at a time and you want the  
browser to be getting styles and scripts in parallel.

Avi
_______________________________________________
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/20060626/0637314b/smime.bin


More information about the Seaside mailing list