can I use session variable in App_code Class page??

Answers were Sorted based on User's Feedback



can I use session variable in App_code Class page??..

Answer / bhaskar.joardar

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

Is This Answer Correct ?    29 Yes 4 No

can I use session variable in App_code Class page??..

Answer / swapna

Yes

Is This Answer Correct ?    5 Yes 6 No

can I use session variable in App_code Class page??..

Answer / vvv

yes sure

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

How are sessions stored?

0 Answers  


What is difference Between Authentication and authorization?

0 Answers   MCN Solutions,


What is considered a service provider?

0 Answers  


What is web router?

0 Answers  


How do you relate an aspx page with its code behind Page?

2 Answers   Accenture,






What method must be overridden in a custom control? a) The Paint() method b) The Control_Build() method c) The Render() method d) The default constructor

1 Answers   Icertis, Microsoft, Syntax Softtech,


Explain what is an assembly?

0 Answers  


How can I open ashx file in mobile?

0 Answers  


how to integrate Language conversion, without asking the enduser to download font, it should auto integrate

1 Answers  


my name is sumeetha i am using google gears in .net.what's the problem is my server is in another place. i am working here when i entered the values in textboxes and press enter then it should store in database(sql server) which is in another system.when that sever system is shutdown then the values which i submit should store in my system and after system opened it should automatically store the values in the system can any one plz urgent suggest answer for this question?

2 Answers  


You are creating a Web site for Your company. You receive product lists in the form of XML documents. You are creating a procedure to extract information from these XML documents according to criteria that your users will select. When a user makes a request, you want the results of these requests to be returned as quickly as possible. What should you do? A . Create an XmlDataDocument object and load it with the XML dat Use the DataSet property of the object to create a DataSet object. Use a SQL SELECT statement to extract the requested dat B . Create an XmlDataDocument object and load it with the XML data. Use the SelectNodes method of the object to extract the requested data. C . Create an XPathDocument object and load it with the XML data. Call the CreateNavigator method to create an XPathNavigator object. Call the Select method of the XPathNavigator object to run an XPath query that extracts the requested data. D . Create an XmlReader object. Use the Read method of the object to stream through the XML data and to apply an XPath expression to extract the requested data.

1 Answers   Syntax Softtech,


I am trying to redirect another site on button click.

8 Answers  


Categories