How same session variable can be used in both Asp and Asp.net?



How same session variable can be used in both Asp and Asp.net?..

Answer / simran_8185@rediff.com

session["name of the session"]=values;
response.write session["Name"];

values means the data you want to store in the session like
session["uid"]=ds.tables[0].rows[0]["uid"].tostring();

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Programming Languages AllOther Interview Questions

i want to insert textbox value to sql db. i have only one text box but store four values. ple give any one give sample code in asp.net c#..

1 Answers   Concentrix,


what is the exact full form of OOPS,O -> object O -> oriented P -> programing S-> ? ....

16 Answers  


write a sql qwery which include joining of two tables 4 marks mainframe

0 Answers  


What is the entry point function of a DLL?

0 Answers   Wipro,


can we extend a class having only one parameterised constructor.Suggest the process to do it.

0 Answers   Zensar,






how many types of bytes are there???

0 Answers  


how to add Servlet-api.jar file into eclipse 3.3.2 ?

0 Answers   IBM,


what is difference between scripts, smartforms and adobe forms

5 Answers  


which one is the best practice using synchronization method or synchronization block

1 Answers   TCS,


why we use abstract in awt?

0 Answers  


Ordered List tag is

1 Answers  


if 3 duplicate records, by keeping one original and one duplicate record, and how to delete remaining 2 duplicates in sql server 2008

0 Answers  


Categories