Click here to Skip to main content
15,889,116 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionmodal popup extender not handling aspx code behind function Pin
hyperalergelo2-Feb-09 21:55
hyperalergelo2-Feb-09 21:55 
QuestionGlobal resourse file [modified] Pin
Chetan_pawar2-Feb-09 21:55
Chetan_pawar2-Feb-09 21:55 
QuestionError:Object reference not set to an instance of an object Pin
M.Ambigai2-Feb-09 21:54
M.Ambigai2-Feb-09 21:54 
AnswerRe: Error:Object reference not set to an instance of an object Pin
Abhijit Jana2-Feb-09 22:10
professionalAbhijit Jana2-Feb-09 22:10 
AnswerRe: Error:Object reference not set to an instance of an object [modified] Pin
mr_muskurahat2-Feb-09 22:12
mr_muskurahat2-Feb-09 22:12 
GeneralRe: Error:Object reference not set to an instance of an object Pin
Abhijit Jana2-Feb-09 22:19
professionalAbhijit Jana2-Feb-09 22:19 
QuestionDifference b/n session and cache Pin
NidhiKanu2-Feb-09 21:54
professionalNidhiKanu2-Feb-09 21:54 
AnswerRe: Difference b/n session and cache Pin
anujbanka17842-Feb-09 22:01
anujbanka17842-Feb-09 22:01 
A cookie is a small amount of data that is stored either in a text file on the client file system or in-memory in the client browser session. It contains site-specific information that the server sends to the client along with page output. Cookies can be temporary (with specific expiration times and dates) or persistent.
You can use cookies to store information about a particular client, session, or application. The cookies are saved on the client device, and when the browser requests a page, the client sends the information in the cookie along with the request information. The server can read the cookie and extract its value. A typical use is to store a token (perhaps encrypted) indicating that the user has already been authenticated in your application.
ASP.NET allows you to save values by using session state — which is an instance of the HttpSessionState class — for each active Web-application session. For an overview, see ASP.NET Session State Overview.
Session state is similar to application state, except that it is scoped to the current browser session. If different users are using your application, each user session will have a different session state. In addition, if a user leaves your application and then returns later, the second user session will have a different session state from the first.
Session state is structured as a key/value dictionary for storing session-specific information that needs to be maintained between server round trips and between requests for pages. For more information, see ASP.NET Session State Overview.
You can use session state to accomplish the following tasks:
• Uniquely identify browser or client-device requests and map them to an individual session instance on the server.
• Store session-specific data on the server for use across multiple browser or client-device requests within the same session.
• Raise appropriate session management events. In addition, you can write application code leveraging these events.
Once you add your application-specific information to session state, the server manages this object. Depending on which options you specify, session information can be stored in cookies, on an out-of-process server, or on a computer running Microsoft SQL Server. For usage recommendations, see ASP.NET State Management Recommendations.
The following example shows how to save a value in session state.
Visual Basic
Copy Code
Session("FirstName") = FirstNameTextBox.Text
Session("LastName") = LastNameTextBox.Text
C#
GeneralRe: Difference b/n session and cache Pin
NidhiKanu2-Feb-09 22:18
professionalNidhiKanu2-Feb-09 22:18 
AnswerRe: Difference b/n session and cache Pin
Abhijit Jana2-Feb-09 22:15
professionalAbhijit Jana2-Feb-09 22:15 
GeneralRe: Difference b/n session and cache Pin
NidhiKanu2-Feb-09 22:33
professionalNidhiKanu2-Feb-09 22:33 
GeneralRe: Difference b/n session and cache Pin
Abhijit Jana2-Feb-09 22:41
professionalAbhijit Jana2-Feb-09 22:41 
GeneralRe: Difference b/n session and cache Pin
NidhiKanu2-Feb-09 22:49
professionalNidhiKanu2-Feb-09 22:49 
GeneralRe: Difference b/n session and cache Pin
N a v a n e e t h2-Feb-09 23:38
N a v a n e e t h2-Feb-09 23:38 
QuestionProblem with gridview Pin
sarang_k2-Feb-09 21:50
sarang_k2-Feb-09 21:50 
AnswerRe: Problem with gridview Pin
anujbanka17842-Feb-09 21:58
anujbanka17842-Feb-09 21:58 
AnswerRe: Problem with gridview Pin
Anurag Gandhi2-Feb-09 22:00
professionalAnurag Gandhi2-Feb-09 22:00 
GeneralRe: Problem with gridview Pin
Abhijit Jana2-Feb-09 22:29
professionalAbhijit Jana2-Feb-09 22:29 
GeneralRe: Problem with gridview Pin
Anurag Gandhi2-Feb-09 22:55
professionalAnurag Gandhi2-Feb-09 22:55 
AnswerRe: Problem with gridview Pin
S.Dhanasekaran4-Feb-09 3:15
S.Dhanasekaran4-Feb-09 3:15 
AnswerRe: Problem with gridview Pin
RichardGrimmer5-Feb-09 4:58
RichardGrimmer5-Feb-09 4:58 
QuestionHow to pass an object as argument? [modified] Pin
Radiv Jeshya2-Feb-09 21:27
Radiv Jeshya2-Feb-09 21:27 
AnswerRe: How to pass an object as argument? Pin
Christian Graus2-Feb-09 22:35
protectorChristian Graus2-Feb-09 22:35 
QuestionRefrense to a HtmlForm Pin
mehrdadc482-Feb-09 20:46
mehrdadc482-Feb-09 20:46 
AnswerRe: Refrense to a HtmlForm Pin
Christian Graus2-Feb-09 21:03
protectorChristian Graus2-Feb-09 21:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.