# Location()

Stops execution of the current request and redirect to another location.

```
Location( url=string, addToken=boolean, statusCode=numeric, encode=boolean );
```

**Returns:** void

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| url | string | Yes | URL where the call should redirect |  |
| addToken | boolean | No | appends client variable information to URL (true\|false) |  |
| statusCode | numeric | No | The HTTP status code (301,302(default), 303, 304, 305, 307) |  |
| encode | boolean | No | Encode the given URL value |  |

# Examples

*There are currently no examples for this function*







# See Also

[<cflocation>](../tags/location.md)