On 2000.11.29 17:55:34 +0000 Rafal Krzewski wrote:
> Sean Legassick wrote:
> > Actually I've just committed some changes to RunData/ServerData that
make
> > this even cleaner (IMO). Now RunDataFactory seeds a contextPath field
in
> > ServerData (using the reflection trick that has it compile on JSDK2.0
as
> > well). So replace ImageURI with:
> > 
> > <img src="$data.getContextPath()/images/logo.gif">
> > 
> > I reckon this renders both ImageURI and the StaticURI/Link class that
we
> > discussed a while ago unnecessary...
> 
> Not really, you forgot about URL rewriting for cookie-less session
> mainteance.
> On the other hand, sessions should not be critical for accessing static
> content. I'd prefer to send the session information in either case,
> because
> the app server could use the session information internally.

True - certainly for my purposes session info doesn't matter for static
content, so I had discounted any need to include it. However if you think
there is a _genuine_ need for session info to be passed when accessing
static content feel free to ...

> I still think that either a method should be added to the TemplateLink
> class, or a StaticLink class should be created.

...do this stuff.

-- 
Sean Legassick
[EMAIL PROTECTED]
                                  homo sum: humani nihil a me alienum puto


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to