Link'ed resources come in via new sessions?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Link'ed resources come in via new sessions?

Boris Popov, DeepCove Labs (SNN)
Couldn't help but notice the following HTML being generated for the link'ed
stylesheets and scripts,

<link rel="stylesheet" type="text/css" href="/raven?_s=JIlOOLStwFFlEzLr">
<script type="text/javascript" src="/raven?_s=lEUFxGDQZBVgquEg"></script>

This is in the application with cookies enabled, shouldn't these be _k
params?

Thanks!

-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
Reply | Threaded
Open this post in threaded view
|

RE: Link'ed resources come in via new sessions?

Boris Popov, DeepCove Labs (SNN)
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?

-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 Boris Popov
Sent: Monday, June 26, 2006 10:50 AM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: [Seaside] Link'ed resources come in via new sessions?

Couldn't help but notice the following HTML being generated for the link'ed
stylesheets and scripts,

<link rel="stylesheet" type="text/css" href="/raven?_s=JIlOOLStwFFlEzLr">
<script type="text/javascript" src="/raven?_s=lEUFxGDQZBVgquEg"></script>

This is in the application with cookies enabled, shouldn't these be _k
params?

Thanks!

-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
Reply | Threaded
Open this post in threaded view
|

Re: Link'ed resources come in via new sessions?

Avi  Bryant

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
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Link'ed resources come in via new sessions?

Boris Popov, DeepCove Labs (SNN)
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

[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 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
[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