Where can we set the specific variables for a application
and Session objects ?

Answers were Sorted based on User's Feedback



Where can we set the specific variables for a application and Session objects ?..

Answer / psetty

We can set the specific variables for the Application and
Session objects in the application_Start and Session_start
subroutines.

Is This Answer Correct ?    5 Yes 0 No

Where can we set the specific variables for a application and Session objects ?..

Answer / sathish

Application variable value is static value and not expired
the value.
ex:

application("vari name")=10

session vari., value have been expired 2 their duration of
session timing...

ex:

session("vari-name")=12

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

What is the difference between mvc and asp.net? : Asp.Net MVC

0 Answers  


a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.

0 Answers   Netsweeper,


What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?

0 Answers  


What is cookieless session id explain in brief?

0 Answers  


What is the difference between Trace and Debug?

2 Answers   BirlaSoft,






What is a WebService and what is the underlying protocol used in it? Namespace?

1 Answers  


How do http sessions work?

0 Answers  


How to send data through querystring to another page but it should not be displayed in URL

2 Answers   EMR, Powersoft19,


How much data (Max K) can go into a QueryString?

4 Answers   TCS, WEB,


Is there any limit for query string? Means what is the maximum size?

0 Answers  


What is custom control. What is the difference between custom control and user control ?

1 Answers   Microsoft, Synergy,


What does asp stand for in asp.net?

0 Answers  


Categories