Presto Content Management System
2) Session And Request Setup

<- ->

Documentation > Presto Developer's Manual > Under The Hood > Presto Request Process
Check a variety of session and request URL values and conditions in presto/tags/setup/index.cfm

  • Record request.url and request.file_name
  • Check user's browser, and set up any other general session related variables.
  • Check for incomming url parameters, and converts them to form fields
  • Check user's login status, and login or logout if necessary.
  • Change language used to view the site if requested.
  • Set request.site = application.sites.site_[group_id]_[request.user.language]
  • Section is selected.

    request.section points to current site's section for this page, if any, as identified in the /presto/default_website/menu/get_context_data.cfm script.  Most website pages are positioned under a section.  Otherwise an empty record is provided for request.section.  For the "image" field value, it contains "default.gif".

    .name

    Provides all fields of a page's section, with text in appropriate language.  Section fields can easily be customized to include more than the following fields.

    .long_name As for home page
    .metatags As for home page
    .content As for home page
    .image default is "default.gif"
    .image_alt Alt tag text for above image.

<- ->

Valid XHTML 1.0!