Shopping Cart Using Cookies
<p>I am trying to make a simple shopping cart using cookies/sessions. It just contains 4 items according to this code snippet,</p>

<pre><code>&lt;form id="form1" runat="server"&gt;
    &lt;div style="height: 296px"&gt;



        &lt;asp:ListBox ID="ListBox1" runat="server" Height="164px" Width="107px" 
            SelectionMode="Multiple"&gt;
            &lt;asp:ListItem&gt;Tyres&lt;/asp:ListItem&gt;
            &lt;asp:ListItem&gt;Battery&lt;/asp:ListItem&gt;
            &lt;asp:ListItem&gt;Front Glass&lt;/asp:ListItem&gt;
            &lt;asp:ListItem&gt;Vanity Mirrors&lt;/asp:ListItem&gt;
        &lt;/asp:ListBox&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        Username:&lt;asp:TextBox ID="TextBox1" runat="server"&gt;&lt;/asp:TextBox&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        EMail: 
        &lt;asp:TextBox ID="TextBox2" runat="server"&gt;&lt;/asp:TextBox&gt;



        &lt;br /&gt;
        &lt;br /&gt;
        &lt;asp:Button ID="Button1" runat="server" Text="Submit" onclick="Button1_Click" /&gt;



    &lt;/div&gt;
    &lt;/form&gt;
</code></pre>

<p>what I am trying is I am selecting all four items and on clicking the button, it will take me to the next page for entering prices and calculating prices and in the other page I will show the total with taxes. I am stuck on the second page as it just shows the First selection not the other three. Below is the code for second page:</p>

<pre><code>public partial class confirm : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.Cookies["UserInfo"] != null)
        {
           // TextBox1.Text = Server.HtmlEncode(Request.Cookies["UserInfo"]["userName"]);
            //TextBox2.Text = Server.HtmlEncode(Request.Cookies["UserInfo"]["email"]);
            Label1.Text = Server.HtmlEncode(Request.Cookies["UserInfo"]["items"]);
            Label2.Text = Server.HtmlEncode(Request.Cookies["UserInfo"]["items"]);
            Label3.Text = Server.HtmlEncode(Request.Cookies["UserInfo"]["items"]);
            Label4.Text = Server.HtmlEncode(Request.Cookies["UserInfo"]["items"]);
        }
    }
}
</code></pre>

<p>Any ideas guys where I might be wrong?</p>
