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

Which control would you use if you needed to make sure the values in two different controls matched?

2 Answers  


What is rich control in asp.net?

0 Answers  


Can private assembly be used for more than one application? If so how?

7 Answers   Satyam,


What is an axd file?

0 Answers  


How can we access static variable?

0 Answers  






Usage of web.config?

2 Answers   Microsoft,


How .net CLR works with n-tier application

4 Answers   HCL, Hughes,


What is a form tag?

0 Answers  


Differentiate between namespace and assembly.

0 Answers  


When cookie will expire?

0 Answers  


Explain how inline and code behind is used differently ?

1 Answers   Siebel,


Why do we use Option Explicit?

2 Answers   Microsoft,


Categories