docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 4.0Web Developer ManualVariables, Scopes & Entities
Copyright © 2006, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com

   

Encoding
Client Scope
Cookie Scope
Form Scope
Page Scope
Request Header Scope
Roxen Scope
Var Scope

Page

This scope contains information specific to this page.


&page.accessed; (provided by Tags: Accessed counter)

Generates an access counter that shows how many times the page has been accessed. Needs the accessed module.


&page.dir; (provided by Tags: RXML 2 tags)

The name of the directory in the virtual filesystem where the file resides, as derived from the URL. If the URL is "http://community.roxen.com/articles/index.html", then the value of this entity is "/articles/".


&page.filesize; (provided by Tags: RXML 2 tags)

This file's size, in bytes.


&page.language; (provided by Tags: RXML 2 tags)

What language the contents of this file is written in. The language must be given as metadata to be found.


&page.last-true; (provided by Tags: RXML 2 tags)

Is "1" if the last <if>-statement succeeded, otherwise 0. (<true> and <false> is considered as <if>-statements here) See also: If Tags.


&page.mountpoint; (provided by Tags: RXML 2 tags)

The root of the present virtual filesystem without the ending slash, usually "".


&page.path; (provided by Tags: RXML 2 tags)

Absolute path to this file in the virtual filesystem. E.g. with the URL "http://www.roxen.com/partners/../products/index.xml", as well as "http://www.roxen.com/products/index.xml", the value will be "/products/index.xml", given that the virtual filsystem was mounted on "/".


&page.pathinfo; (provided by Tags: RXML 2 tags)

The "path info" part of the URL, if any. Can only get set if the "Path info support" module is installed. For details see the documentation for that module.


&page.query; (provided by Tags: RXML 2 tags)

The query part of the page URL. If the page URL is "http://www.server.com/index.html?a=1&b=2" the value of this entity is "a=1&b=2".


&page.realfile; (provided by Tags: RXML 2 tags)

Path to this file in the file system. An example output: "/home/joe/html/index.html".


&page.scope; (provided by Tags: RXML 2 tags)

The name of the current scope, i.e. the scope accessible through the name "_".


&page.self; (provided by Tags: RXML 2 tags)

The name of this file, derived from the URL. If the URL is "http://community.roxen.com/articles/index.html", then the value of this entity is "index.html".


&page.ssl-strength; (provided by Tags: RXML 2 tags)

The number of bits used in the key of the current SSL connection.


&page.url; (provided by Tags: RXML 2 tags)

The absolute path for this file from the web server's root view including query variables.


&page.virtroot; (provided by Tags: RXML 2 tags)

The root of the present virtual filesystem, usually "/".