How do you manage session in ASP and ASP.NET?



How do you manage session in ASP and ASP.NET?..

Answer / simran_8185@rediff.com

session["sessionname"]=value to be stored
like
session["uid"]=ds.tables[0].row[0][0].tostring();

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is http post and http get?

1 Answers  


What base class do all Web Forms inherit from?

9 Answers  


What is the function of the CustomValidator? a) It allows for custom C# client-side code to validate entries in a control. b) It allows for a custom mixture of validator controls to use one central control for the display of messages. c) It uses scripted client-side code to validate the entry in a control. d) It uses server-side code to validate the entry in a control.

4 Answers   ABC, Syntax Softtech, TCS,


How can you use a custom controls in ASP.NET application?

1 Answers   Sans Pareil IT Services,


What is custom tag in web.config ?

2 Answers   Accenture, BirlaSoft,


Do you know using sql cache invalidation?

1 Answers  


Describe the difference between inline and code behind - which is best in a loosely coupled solution Tightly coupled - INLINE

2 Answers  


Web API supports which protocol?

1 Answers  


How do I debug an ASP.NET application that wasn't written with Visual Studio.NET and that doesn't use code-behind?

1 Answers  


What is CLS?

5 Answers   IBM, PrimeLine, TCS,


Contrast OOP and SOA. What are tenets of each ?

1 Answers  


Can we have a web application running without web.config file?

1 Answers  


Categories