Krishan Posted August 8, 2001 Posted August 8, 2001 Hi Lasso people... I have a problem with my cookies and I was wondering if anyone could help me out. When I was using CDML, I had the following code: code: [FMP-SetCookie: DCLoginCookie=DC{FMP-field: UserID}{ClientIP}] But now with LDML, I'm a bit confused because it's not working! I know the following LDML works: code: [Cookie_Set: 'DCLoginCookie' = (Field: 'UserID')] But that misses out my "DC" and my "Client_IP" in the cookie value. I've tried code: [Cookie_Set: 'DCLoginCookie' = DC(Field: 'UserID')(Client_IP)] But that brings up an error: quote: Expected: PARAMS_START but got: "(". The opening bracket before the word '(Field:' is red. I'd be grateful if anyone could help me create my cookie in LDML. Thanks a lot!!! [ August 08, 2001: Message edited by: Krishan ]
Krishan Posted August 12, 2001 Author Posted August 12, 2001 code: [Variable_Set:'Client_IP'=Client_IP] [Cookie_Set: 'DCLoginCookie' = (String_Concatenate: 'DC', field:'UserID', var:'Client_IP'), secure] .... that's how to do it!
Recommended Posts
This topic is 8772 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