Persists the form data, redirects to the same page and retrieves the persisted data into the form, masking the GET request as a POST.
The persisted form data will only be available directly after the redirect.
Throws an exception when the persisted post data is no longer available.

Syntax

Smartsite SXML CopyCode image Copy Code
request.form.persistance.transfer()
request.form.persistance.transfer(enum options)
request.form.persistance.transfer(enum options, locator location)

Parameters

Name Data Type Description
options Enum The options.
Enum values:
  • None
    No options.
  • AbortOriginalPosting
    Aborts the request when redirecting after initial post. Any code after the call will not be executed.
  • IgnorePersistedData
    Does not load persistance data after Post redirection.
  • UseCookie
    Use session cookie instead of querystring variable.
  • All
    Combines the AbortOriginalPosting and IgnorePersistedData options.
location Locator The location to transfer to.

Return Value

None.

Expand image Examples

SXML