Apache and YASS Web Pages

A live YASS Web Page demonstrating GET, POST, sessions and dynamic server-side rendering.

Live request information
YWP YASS GET POST SESSION
Hello from a YASS function running inside a YWP page.
Server status
Ready
ZPE version
1.14.4
GET name
UNDEFINED
GET age
UNDEFINED
POST name
UNDEFINED
Session last_name
UNDEFINED
Session visit_count
1
Full session map
[visit_count=>1]
This page is rendered dynamically by Apache and ZPE. Submitting the form updates the session on the server.
Try it
Enter a name and submit the form to send a POST request. Or use the quick links below to trigger a GET request.
Test GET: Jamie Test GET: Betty Test GET: Francis & 31
What this page demonstrates
This single page shows how YASS Web Pages can:
GET
Read query string values using REQUEST->get(...)
POST
Read submitted form data using REQUEST->post(...)
Sessions
Store and retrieve state using REQUEST->session(...) and RESPONSE->set_session_variable(...)
Functions
Run reusable YASS functions inside the page
Dynamic HTML
Render values directly into the response body
Current dynamic output
GET name = UNDEFINED
POST name = UNDEFINED
SESSION last_name = UNDEFINED
SESSION visit_count = 1
SESSION map = [visit_count=>1]
Hello from a YASS function running inside a YWP page.