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 4817 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

is there any way to get a session ID for an IWP session and write it into a record in the moment the record is being created?

I’m trying to build a web shop based on IWP. Unidentified web users would click on links like “Add to Cart” to add articles. After that, the user would identify doing a login and continue with a payment procedure. In this moment, the articles in the cart have to be related to the correct user, and a way to identify which articles belong to which user would be having a session ID recorded.

Thanks in advance for help,

Raphael

Posted

You'd have to move to CWP to work with web session IDs, but I suppose you could roll your own pseudo-ID: create a unique ID when the user logs in and stash it in a global field or variable.

See example here, or search dunning for "UUID."

Posted

Creating a unique ID when the user logs in is too late. I could, in this moment, just take the users costumer number which would be unique in the database. What I had in mind was creating a unique ID before the user logs in.

So, switching to CWP will indeed be the way, thanks for the the quick reply and helpful links!

Posted

What I meant by "login" is when they first open the database, presumably by automatically logging in as a guest. The UUID would be created as part of the file's startup script.

  • 2 months later...

This topic is 4817 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.