Click here to Skip to main content
15,899,474 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionweb pages communicate with each other Pin
sc steinhayse22-Jun-12 20:24
sc steinhayse22-Jun-12 20:24 
AnswerRe: web pages communicate with each other Pin
Sandeep Mewara22-Jun-12 21:23
mveSandeep Mewara22-Jun-12 21:23 
QuestionPanel displayed from UserControl Pin
AB777122-Jun-12 7:48
AB777122-Jun-12 7:48 
AnswerRe: Panel displayed from UserControl Pin
jkirkerx22-Jun-12 10:10
professionaljkirkerx22-Jun-12 10:10 
GeneralRe: Panel displayed from UserControl Pin
AB777124-Jun-12 23:31
AB777124-Jun-12 23:31 
Questionset values for session variables Pin
sc steinhayse22-Jun-12 5:19
sc steinhayse22-Jun-12 5:19 
AnswerSession variable overview Pin
David Mujica22-Jun-12 6:05
David Mujica22-Jun-12 6:05 
AnswerRe: set values for session variables Pin
jkirkerx22-Jun-12 6:37
professionaljkirkerx22-Jun-12 6:37 
When you assign a session value, the session value is held by the IIS Web Server, during the lifetime of the Session.

In other words, when a user goes to your website, the web server creates a session ID for that user, and creates a timeout, which is usually 20 minutes by default.

During that period in which the session is active, you can assign session values that will last until the timeout period. No matter what page the user is viewing, the values will remain until the timeout, in which they are all destroyed.

Be careful using session values, they do consume server memory, and are susceptible to hacking.

[EDIT]
sc steinhayse wrote:
how to clear out the values for those session variables

Session.Add("secureLevel", 5)
Session.Remove("secureLevel")
Session.Abandon()
Session.Clear()

QuestionAssigning the SelectedValue of Dropdownlist within Gridview to a datatable field Pin
sheringkapoting22-Jun-12 1:59
sheringkapoting22-Jun-12 1:59 
AnswerRe: Assigning the SelectedValue of Dropdownlist within Gridview to a datatable field Pin
Sanjay Kunjam22-Jun-12 2:57
Sanjay Kunjam22-Jun-12 2:57 
GeneralRe: Assigning the SelectedValue of Dropdownlist within Gridview to a datatable field Pin
sheringkapoting22-Jun-12 3:21
sheringkapoting22-Jun-12 3:21 
GeneralRe: Assigning the SelectedValue of Dropdownlist within Gridview to a datatable field Pin
AshishChaudha29-Jun-12 22:30
AshishChaudha29-Jun-12 22:30 
QuestionC# session variable Pin
sc steinhayse21-Jun-12 12:05
sc steinhayse21-Jun-12 12:05 
AnswerRe: C# session variable Pin
jkirkerx21-Jun-12 12:21
professionaljkirkerx21-Jun-12 12:21 
AnswerRe: C# session variable Pin
AspDotNetDev21-Jun-12 13:02
protectorAspDotNetDev21-Jun-12 13:02 
AnswerRe: C# session variable Pin
Rahul Rajat Singh25-Jun-12 0:56
professionalRahul Rajat Singh25-Jun-12 0:56 
QuestionShowing a single Modal Popup Extender on Click of Multiple Controls. Pin
sheringkapoting21-Jun-12 2:45
sheringkapoting21-Jun-12 2:45 
AnswerRe: Showing a single Modal Popup Extender on Click of Multiple Controls. Pin
jkirkerx21-Jun-12 10:58
professionaljkirkerx21-Jun-12 10:58 
QuestionExpected ')' Pin
Member 911397420-Jun-12 21:47
Member 911397420-Jun-12 21:47 
AnswerRe: Expected ')' Pin
Nagy Vilmos20-Jun-12 22:44
professionalNagy Vilmos20-Jun-12 22:44 
AnswerRe: Expected ')' Pin
ZurdoDev21-Jun-12 2:34
professionalZurdoDev21-Jun-12 2:34 
AnswerRe: Expected ')' Pin
Abhinav S21-Jun-12 20:16
Abhinav S21-Jun-12 20:16 
AnswerRe: Expected ')' Pin
JMummery23-Jun-12 13:34
professionalJMummery23-Jun-12 13:34 
AnswerRe: Expected ')' Pin
Dhyanga9-Jul-12 11:38
Dhyanga9-Jul-12 11:38 
QuestionFormated tooltip Pin
lrsalunkhe20-Jun-12 20:39
lrsalunkhe20-Jun-12 20:39 

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.