Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jonas Høiby 62 posts 53 karma points
    Feb 02, 2010 @ 17:27
    Jonas Høiby
    0

    umbraco.library:Request('String key') - umbraco v4

    What does it do?

    And how does one use it?

    Which commands does it accept?

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Feb 02, 2010 @ 18:15
    Douglas Robar
    2

    umbraco.library:RequestForm(key) gets form field values sent to a page as a result of a <form method="post">.

    umbraco.library:RequestQueryString(key) gets form field values sent to a page as a result of a <form method="get">.

    etc. for cookies and session variables

     

    umbraco.library:Request(key) looks up the specified key from all these sources. That makes it easy to handle form posts and gets without having to change your xslt even if you later decide to change for form's method=.

    Make sense?

    cheers,
    doug.

Please Sign in or register to post replies

Write your reply to:

Draft