Difference between revisions of "Liquid Template Variables - request"
From Spiffy Stores Knowledge Base
(New page: The liquid template variable ''request'' has the following attributes: == <code>request.host</code> == Returns the host name portion of the URL request. For example, if we go to http://...) |
(No difference)
|
Revision as of 16:35, 16 September 2008
The liquid template variable request has the following attributes:
request.host
Returns the host name portion of the URL request.
For example, if we go to http://storedemo.spiffystores.com, then the request.host returns
storedemo.spiffystores.com
request.remote_ip
Returns the IP address of the client accessing the page.