can I use session variable in App_code Class page??

Answer Posted / bhaskar.joardar

Yes, Using HttpContext.Current.Session
["SessionName"].ToString().

Is This Answer Correct ?    29 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the navigation ways between pages available in ASP.NET?

658


what is meant by sitemapnode ?

1597


Where session id is stored?

629


What is advantage of code behind coding in ASP.NET?

653


if i want to give an alert message like "try after sometime" to a web page which is being seen by other person.if a web page is not seen by anyone then it should display otherwise it show a display a message stating that other person is viewing so try after some time........how can i implement this.

1928






How do you identify that the page is postback?

627


Differentiate the session object and application object?

623


What is is post back property in asp net?

620


How do you secure your configuration files to be accessed remotely by unauthorized users?

741


Why is global asax is used for?

602


What methods are fired during the page load? Init()

631


How can we create a website?

615


How many types of session state management options available in asp.net?

652


Explain asp.net page life cycle?

704


How do sessions work?

612