From your web page you get the session ID and user ID via JavaScript
document.netminers.bindings.sessionId document.netminers.bindings.userId
These bindings data are available when the tracking script has completed the initial tracking task.
You should read these data at submit time of your page. For example, the user clicks the Purchase button. Bind these data to the destination URL or make two hidden fields in the form.