How do you pass session values from one page to another ?

Answer Posted / hari

Get the value from Login Page where the Session Iniciated Like

Sesstion["UserID"]

and you may use this value on another page

Like

EnteredBy=Convert.Toint64(Session["UserID"])

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain asp.net application life cycle?

636


What is the default timeout for a cookie?

653


How do active server pages work?

628


What is state management technique?

632


Define static function?

656






What is the parent class of all web server control?

629


What is ispostback method in asp.net? Why do we use that?

703


How Can assign alias name for ASP.NET Web API Action?

1040


What is the difference between CLICK and MOUSE DOWN Event ?

682


Explain the updatepanel?

659


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

619


How can u deifne the benefits and limitation of using Viewstate for state management?

798


Can you set the session out time manually?

469


List of words of preprocessor in .net?

604


Can we use html in asp.net?

590