[thelist] SSI question
martin burns
martin at lists.evolt.org
Fri Sep 15 13:56:53 CDT 2000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At 18:52 15/09/00, Martha Hesselein wrote:
>My question: need I have multiple versions of these content files with the
>include command for each nav file, or is there a way (non js) to determine
>the last file looked at and then choose the correct nav file to include?
Yes there is - you'll need to write a server side script which detects
the referer (it's the HTTP_REFERER server variable and comes in as
the full URL of the previous page) and then outputs the appropriate
data, rather than a simple include.
You might actually find the DOCUMENT_URI variable more useful,
as that tells you where you *are*, rather than where you've come from.
Cheers
Martin
________________
Martin Burns, Content Management Consultant
tel: +44 (0)778 068 6418 http://evolt.org/index.cfm?menu=9&uid=32
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
Comment: PGP Key ID: 0xA835CCCB
iQA/AwUBOcJsKHHoHnCoNczLEQI+KACffa0ydvqutNFE1P4vSTMQkQ5gtQcAn3ne
z9i3veAGjRd79tFYznrY+aVH
=Y2Sa
-----END PGP SIGNATURE-----
More information about the thelist
mailing list