I have one application, one user purchase some products in
my application? and another person came he is also purchase
some products?how can we identify which user purchase which
items?
my answer is by using session id? but i dont know how? can
u give me programming for that?



I have one application, one user purchase some products in my application? and another person came ..

Answer / nidhi

take userid and store it in session variable.. when a user
purchases product store product details along with session
(userid) in database or an xml file and when u want to
retrive fetch from it.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

In which situation can you not use a viewstate?

0 Answers  


How can we identify that the Page is Post Back?

0 Answers  


Why mvc is better than asp.net? : Asp.Net MVC

0 Answers  


How you can stop the validation of ASP.NET controls from client side?

0 Answers   Sans Pareil IT Services,


When does a session actually start?

0 Answers  






Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?

0 Answers   Siebel Systems,


How to deploy the Asp.Net Project ?

3 Answers  


How to store checkbox value in database in asp.net mvc? : Asp.Net MVC

0 Answers  


How would you get asp.net running in apache web servers?

0 Answers  


What is the differances between a abstract calss and interface

2 Answers   Patni,


What is web.config and machine.config ?

1 Answers   Patni,


What is Master Page in Asp.net?

9 Answers  


Categories