Link | LI_URLRedirect |
Author | Eric Landmann |
Category | Utility |
Version | 8.x |
License | Public Domain |
Posted | 23 Jun 2008 |
Updated | 23 Jun 2008 |
More by this author... |
Creates a URL redirect link of $xDebug =Y, otherwise redirects. Has the ability to pass error messages and parameters. This is useful for troubleshooting when you need to see the values being passed through an URL.
LI_URLRedirect: -Page='setup_editrecord.lasso',-ExParams=('DataType=Something'),-UseError='Y',-Error='1003',-Option='something', -UseArgs='Y';
Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.
RemoveTrailing('&'); #URL->(Replace: '?&', '?'); If: $xDebug == 'Y'; #Result = ('URLRedirect: '(#URL)'
\n'); Else; Redirect_URL: #URL; /If; Return: Encode_Smart(#Result); /Define_Tag; Log_Critical: 'Custom Tag Loaded - LI_URLRedirect'; /If; ?>
No comments
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft