Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 8532 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi Lasso people... crazy.gif" border="0

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!!! smile.gif" border="0laugh.gif" border="0

[ August 08, 2001: Message edited by: Krishan ]

Posted

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! smile.gif" border="0

This topic is 8532 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.