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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

i am getting the error while compiling my cics program with including db2 dclgen member it is showing that ur dclgen member not including and all the host variables are undeclared

1083


Explain three modes in which files can be accessed from python program

1309


5.Call by value and Call by reference with program?

1818


Hey this is venkatesh.Please can any body tell me what is SFLNXTCHG?where we use this keyword?what perpuse we use this?Can you tell me in real time senario with example? And in 7 specification(RPG/400)what is the mandatory specification using programs?

1512


Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.

637






what is difference between object oriented programming structure and object oriented programming system?

1430


sample and simple coding where we get?

1769


in cobol,wat is the difference in using 'set index in occurs clause' ....and 'occurs depending-on clause'

1766


Write a program to find whether a given number is prime or not.

599


19. Given a system that is described with the following equation, X=A+(B.(A̅+C)+C)+A.B.(D̅+E̅) a) Simplify the equation using Boolean Algebra. b) Implement the original and then the simplified equation with a digital circuit. c) Implement the original and then the simplified equation in ladder logic.

1233


How to call a C++ function which is compiled with C++ compiler in C code?

780


which worker is involved in all the phases of SDLC?

1686


in IT trend mantis meant what? how to know mantis in IT trends? detail description about mantis?

1642


there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box. eg: 3 box contain stick as:1,1,1. if u take 1 stick from 3rd numbred box you will any how win the match.

2419


what will we require to build project with the help of oracle

1373