Question
I called Session.Abandon, why are my session variables still there?

Answers

While you might call Session.Abandon at the top of the page, any existing session variables will not actually be
destroyed until the page goes out of scope. So if you have a page like this:
<%
Session("a") = 1
Session.Abandon
Response.Write(Session("a"))
%>
You will see "1" output to the screen, even though the variable was accessed after you called Session.Abandon.
When the user navigates to another page, however, Session("a") will be gone.
  Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q Which protocol is used to support communication between ORBs?
  • Q What is cold backup, hot backup, warm backup recovery?
  • Q Describe how cost center accounting differs from financial accounting?
  • Q What is difference between ON Change of & At New Field?? Select Single * from & select Upto 1 rows
  • Q What are common control fields in replenishment?
  • Q For the first time, in how many constituencies Photo electoral Rolls will be used ?
  • Q Citius Altius Fortius is the motto of what organisation
  • Q Can i embed applet, embed or object tags within mathml?
  • Q Why we use Final keyword if we have sealed and const keywords in C#.?
  • Q Explain static method.
  • Q What are the control-m accessories?