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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are validator? Name the validation controls in asp.net? How do you disable them?

548


i have 3+ exp in .net? i am going interview now but they asked me do you know any TOOL? which tool will i study please refer me?

1847


How to comment out asp.net tags?

634


Explain the differences between managed and unmanaged code?

502


Explain the significance of routing? : asp.net mvc

542






Which is better session or viewstate?

514


Explain the role of global.asax?

555


what is the difference between response.write() and response.output.write()?

702


What would be salary for 8+ years of experience in ASP.NET in different metro city in india?

1990


what is DLL Hell and how it is solved in .NET? please explain clearly??

1891


What is autopostback in asp net?

593


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

523


How will you do Redo and Undo in a TextControl?

674


How do we sort the data from a dataset?

575


How Session use Cookies in State Management?

615