Say if I want to pass a query via link (default.aspx?id=1&qty=10), and then store it in a session so that it can be retrieved in a 'basket' for later processing, how would I go about storing sessions in a array. There could possibly be up to 20 products, and I will need to store a product id and quantity both passed via an url.
How would I add a so that there individually stored.
Any help appreciated.
Code:
session["basketitems"] = Request.Querystring["id];
How would I add a so that there individually stored.
Any help appreciated.