Hello there
I'm building a tracking application. To this tracking application i need to place a cookie on the user's machine with a unique id.
To do this i've created a database called customer with a customerId (int) as primary key.
The cookie is being placed on the customer computer by some javascript which is included on every page.
This javascript also includes:
var id;
<script type="text/javascript" src="idPool.aspx"></script>
The idea is that the javascript is going to be dynamically generated and say something like this:
id = 5;
How do I :
Call the SQL server, create a new instance/row of user and return the unique customerId to the user as stated above ?
...
Go to the complete details ...