Click here to Skip to main content
15,899,014 members

Comments by mevenson (Top 1 by date)

mevenson 24-Dec-18 9:49am View    
First why do you need to know why anyone wants to know something. Second, how does your response answer the question? It does not. Instead of providing alternate ideas of how to do a task when you are not aware of all of the requirements, perhaps you should try to provide an answer that pertains to the question. I had the same question, and I needed to do it because once the user clicked away from the page, the data I wanted to save in the Session was gone. I needed to trap the onbeforeunload event in javascript on the page and somehow get the C# code to be able to save any form data in the session so that when the user returned, it was not gone. I did finally figure it out from posts by people who actually answered the question being asked instead of questioning the motives of the person asking the question.