Jul Posted January 28, 2005 Posted January 28, 2005 I have custom published databases (converted from FM6) and I am trying to use cookies to pass the user's privileges thourgh the pages. In FM6 I had a code [FMP-IF: CurrentCookie:web_access .cn. Delete] which worked fine. When conveted to xsl, the code looks like this <xsl:when test="contains(fmxslt:get_cookie('web_access'), 'Delete')"> And it is not working. It is not the if statement, it looks like the cookie cannot be set/retrieved at all. Thank you for your help!
Martin Brändle Posted January 29, 2005 Posted January 29, 2005 Is content buffering turned on (see FMS7A Custom Web Publishing Guide, p. 58 and 63)? Add the <?xslt-cwp-buffer buffer-content="true"?> processing instruction on the second line of your xslt stylesheet. Martin
Recommended Posts
This topic is 7295 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now