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 is the maximum number of classes that can be contained in one dll file?

674


What are the disadvantages of using session?

464


What is preprocessor in .net? Where it use?

524


How can you display all validation messages in one control?

545


Explain parts of assembly?

549






What is session mode in asp.net?

517


Explain server-side scripting?

568


What parameters can you pass in the url of the api?

657


Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?

606


In the Repeater control which way you can edit?

641


What is AutoEventWireup attribute for ?

595


What is the current version of asp.net?

493


What are the memory-mapped files?

518


What is diff. Between abstract class and an interface?

517


Explain what are delegates?

569