[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: URL rewriting of links on xsl pages?

Subject: Re: URL rewriting of links on xsl pages?
From: Colin Muller <colin@xxxxxxxxxxxxxx>
Date: Mon, 05 Mar 2001 16:05:21 +0800
xsl url in link
Kevin Duffey wrote:

> cookies. Therefore we must use url rewriting to encode the session id value
> in the url. This needs to be done for EVERY link (and form) on every single
> page. 

You could, when you're dealing with a non-cookie-enabled client, pass
the SID as a parameter, defaulted in your XSL to a value (like empty)
which you can test to see whether you have received an SID or not - then
construct the URLs accordingly.

Or (presuming you're server-side) you could place the SID in a temporary
session-specific XML file and bring it into your XSL via document().
This would require passing the temp file's name as a parameter anyway,
so only worth doing if the temp file will contain a bunch of other
usable stuff as well as the SID - when it can be a handy way to pass a
lot of "parameters" around without cluttering up the top end of your
stylesheets with their declarations.

Colin

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.