urlSessionFormat

If the client does not accept cookies appends session identifiers CFID, CFTOKEN and / or JSESSIONID to the URL.

urlSessionFormat(requesturl) → returns string

Discouraged: Putting session identifiers in the URL may lead to session hijacking.

Argument Reference

requesturl string
Required

URL of a CFML page
Values:
  • cgi.script_name

Examples
Sample code invoking the urlSessionFormat function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub