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

ASP.NET

 
GeneralRe: web form dictionary compare Pin
Richard MacCutchan26-Jun-12 21:32
mveRichard MacCutchan26-Jun-12 21:32 
GeneralRe: web form dictionary compare Pin
jkirkerx27-Jun-12 6:28
professionaljkirkerx27-Jun-12 6:28 
GeneralRe: web form dictionary compare Pin
Richard MacCutchan27-Jun-12 6:31
mveRichard MacCutchan27-Jun-12 6:31 
GeneralRe: web form dictionary compare Pin
jkirkerx27-Jun-12 6:42
professionaljkirkerx27-Jun-12 6:42 
JokeLets do something awesome... Pin
AmitKumar8924-Jun-12 18:08
AmitKumar8924-Jun-12 18:08 
GeneralRe: Lets do something awesome... Pin
Richard MacCutchan24-Jun-12 22:57
mveRichard MacCutchan24-Jun-12 22:57 
GeneralRe: Lets do something awesome... Pin
fjdiewornncalwe25-Jun-12 5:07
professionalfjdiewornncalwe25-Jun-12 5:07 
Questionsession variables Pin
sc steinhayse24-Jun-12 12:27
sc steinhayse24-Jun-12 12:27 
I have a question about using session variables since this is the first C# 2010 web form app that I am running.

Right now I am passing 3 session variables between 2 web pages in the web application that I setup. This is a data entry application where some information is entered on page 1 and the rest of the information is entered on page 2.

When the user has finished entering the information for the first customer. Now the user will be ready to setup information for the second user.

From what I have seen on the internet session variables last up to 20 minutes. Thus I basically do not want the information saved from customer 1 to be entered into the database file for customer 2 by using session variables.

Thus to prevent this from occuring, I am coding the following before the user clicks the button to enter data for the next customer:

Session.Remove("var1");
 
Session.Remove("var2");
 
 Session.Remove("var3");
 
Response.Redirect("~/page1.aspx");


Can you tell me if this is the best method for clearing out session variables and/or if there is a better process you would recommend? Can you tell me and/or point me to a reference that will explain your answer to me?
AnswerRe: session variables Pin
wikizhao24-Jun-12 20:34
wikizhao24-Jun-12 20:34 
AnswerRe: session variables Pin
Rahul Rajat Singh25-Jun-12 0:24
professionalRahul Rajat Singh25-Jun-12 0:24 
AnswerRe: session variables Pin
jkirkerx25-Jun-12 8:59
professionaljkirkerx25-Jun-12 8:59 
SuggestionRe: session variables Pin
Mukesh_Chauhan25-Jun-12 21:44
Mukesh_Chauhan25-Jun-12 21:44 
Questiondata context object in web form 2010 app Pin
sc steinhayse24-Jun-12 7:58
sc steinhayse24-Jun-12 7:58 
AnswerRe: data context object in web form 2010 app Pin
Sandeep Mewara24-Jun-12 10:04
mveSandeep Mewara24-Jun-12 10:04 
Questioncustom validator for C# 2010 web app Pin
sc steinhayse24-Jun-12 7:33
sc steinhayse24-Jun-12 7:33 
AnswerRe: custom validator for C# 2010 web app Pin
Sandeep Mewara24-Jun-12 9:56
mveSandeep Mewara24-Jun-12 9:56 
AnswerRe: custom validator for C# 2010 web app Pin
jkirkerx24-Jun-12 10:23
professionaljkirkerx24-Jun-12 10:23 
QuestionParsing Error Pin
WebMaster24-Jun-12 0:33
WebMaster24-Jun-12 0:33 
AnswerRe: Parsing Error Pin
Sandeep Mewara24-Jun-12 2:57
mveSandeep Mewara24-Jun-12 2:57 
QuestionTall PDF Thumbnail, tweaking sample code, read file from disk, and not upload Pin
jkirkerx23-Jun-12 9:04
professionaljkirkerx23-Jun-12 9:04 
Answer[solved] Pin
jkirkerx23-Jun-12 9:37
professionaljkirkerx23-Jun-12 9:37 
NewsSpeek Object Pin
thun makara23-Jun-12 2:06
thun makara23-Jun-12 2:06 
GeneralRe: Speek Object Pin
Richard MacCutchan23-Jun-12 2:23
mveRichard MacCutchan23-Jun-12 2:23 
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 

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.