August 19, 201114 yr 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
August 19, 201114 yr 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."
August 19, 201114 yr Author 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!
August 26, 201114 yr 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.
Create an account or sign in to comment