WML TAG:  access

<access ... />
 
The access tag provides information that dictates who may access a specific deck. By access, we mean that you can navigate from one deck to another (via links or an URL) and have the contents of the destination deck be displayed in your browser. (As the browser navigates, it performs access control checks to determine if the destination deck can be accessed from the current deck.)
 
If the access tag is not present in a deck, then the deck can be accessed from any other deck or card.
 
If the access tag is present, then the deck can only be accessed by other decks that match the values declared in either or both the domain and path attributes.
 
Only one access tag can occur in a deck and it can only be contained in the head element. (There is only one head element per deck, and it can only contain the access and meta elements.)
 
This is a self-closing tag.
 
Nested Tags:  None
 
Attributes
 
class
The optional class core attribute is used to assign one or more classes to the element. Multiple classes are separated by white space. The class name is case sensitive (i.e., Stocks and stocks are not the same).
 
domain
The optional domain attribute declares the domain suffix that must be matched by other decks that want access.
 
id
The optional id attribute is used to assign a unique name to a tag. The name must be unique to the entire deck and not just unique to a card. The first character of the name can be a letter or the underscore. The remaining characters can be any combination of letters, numbers, or underscores.
 
path
The optional path attribute declares the path prefix that must be matched by other decks that want access. Each element of the declared path prefix must be matched for access to be granted.
 
In this code fragment, access is limited to other decks in the devguru.com domain.
 
Code:
...
<head>
   <access domain="devguru.com" />
</head>
...

 
In this code fragment, an additional restriction to access is set by using the path attribute. Therefore, only decks that match the domain/path string "devguru.com/products/inventory" can access the destination deck.
 
Code:
...
<head>
   <access domain="devguru.com" path="/products/inventory" />
</head>
...


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information