| 
  | 
Whitebeam Template Reference Documentation
  | 
 System Template 
env.Status()
 
			   Return the current page status.
			  
 Syntax 
number = rb.page.env.Status() 
 Parameters 
The 'env.Status' method takes no parameters 
 Results 
The 'env.Status' method returns  number: 
 | Type/Value  |  Range/Length  |  Description   |   
| number | 
  | 
		    Returns the numeric HTTP status code.
		     |  
  
 Remarks  
			   This method is only particularly useful in error handling pages (eg a handler for '404' not found pages). The method returns the
				current status for the page being generated. The initial value for a page is '200', that is no errors. Apache can be configured 
				to redirect to a specific page in the case of an error. When this happens rb.page.env.Status will return the status code. For example
				consider the configuring Apache to redirect to /errorHandler.rhtm for 404 errors (page not found). This would cause this method to
				return 404.
			   | 
 
 
 | 
| 
 (loadtime : 58ms)  |