Session ID
-
Hello Everybody i kept the following code into web.config
<authentication>>
and my login.vb as follows
FormsAuthentication.RedirectFromLoginPage(_loginCheck.memberID, False)
I am developing an online ordering system but Im a bit confused, why I am confused? I am using a session table to keep order information. At the same time more customer logged in into system and adding product into shopping basket. My question is.. Wheather customer will share the same session table or diffrent session table will be create for diffrent customer? Thanks in Advance
Sarfarj Ahmed
-
Hello Everybody i kept the following code into web.config
<authentication>>
and my login.vb as follows
FormsAuthentication.RedirectFromLoginPage(_loginCheck.memberID, False)
I am developing an online ordering system but Im a bit confused, why I am confused? I am using a session table to keep order information. At the same time more customer logged in into system and adding product into shopping basket. My question is.. Wheather customer will share the same session table or diffrent session table will be create for diffrent customer? Thanks in Advance
Sarfarj Ahmed
Sessions will not be shared. So each customer will have their own session. Having said that, keeping shopping cart information in session is not a neat idea. Better way would be to create a table in your database and keep it there. Once the order is placed, remove the data from this table. Keep the shopping cart identifier in session, so you can access the shopping cart data from table using this identifier. :)
Navaneeth How to use google | Ask smart questions