Technical References - [thisurl]

[thisurl] displays the URL of the current page

Putting [thisurl] in your template displays the URL of the current page being displayed as a relative path from the root of the server hierarchy. It will not show the domain name.

If you need to show the variables from the URL, use [thisurlplusget]

http://www.domain.com/x/y/z/index.dna?a=b&c=d


the [thisurl] tag will produce this:
/x/y/z/index.dna

while the [thisurlplusget] tag will produce this:
/x/y/z/index.dna?a=b&c=d


and if you need to show the domain name, just use [listmimeheaders]

[text]CALL_DOMAIN=[listmimeheaders name=host&exact=F][value][/listmimeheaders][/text]


http://[CALL_DOMAIN][thisurlplusget]






DOWNLOAD WEBDNA NOW!

Top Articles:

WebDNA Libraries

A list of available libraries for WebDNA...

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

Download WebDNA Applications

WebDNA applications...

Tips and Tricks

A list of user-submitted tips ...

WebDNA Modules

A list of the currently available modules...

Related Readings:

[sendmail]

There is hardly a website that doesn't at some point need to send an email...

[math]

[math] calculates equations using numbers...

[listvariables]

Lists all the text and/or math variables which have been set earlier on a page...

[raw]

Displays enclosed text without interpreting the [xxx] tags in any way...

[showif]

[showif Comparison]Show This HTML[/showif]...

[if]

This context displays HTML or executes WebDNA conditionally only if the expression is true...