Raphael Posted August 19, 2011 Posted August 19, 2011 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
Fitch Posted August 19, 2011 Posted August 19, 2011 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."
Raphael Posted August 19, 2011 Author Posted August 19, 2011 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!
Fitch Posted August 26, 2011 Posted August 26, 2011 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.
Raphael Posted November 23, 2011 Author Posted November 23, 2011 yes, that's how it worked then fine with IWP. thanks!
Recommended Posts
This topic is 5016 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