How do you pass session values from one page to another ?
Answer Posted / raja mohamed
request query:
response.redirect("requireform.aspx"?get=txtbox1.text);
requireform.aspx
txtbox2.text=get
server transfer:
dim my as string
m="value"
server.transfer("requireform.aspx"?get=m)
requireform:
dim t as string
t=page.request("m")
| Is This Answer Correct ? | 11 Yes | 34 No |
Post New Answer View All Answers
How is session id generated?
What is meant by ispostback in asp net?
What is a postback ispostback and autopostback in asp net?
Define machine.config in .net?
Where is session cookies stored?
What are the parts of an http response?
Explain what is an abstract class?
How can you display all validation messages in one control?
What is difference between singleton and single call?
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.
Apart from IDE what are the enhancements in asp.net 2.0?
What is session mode in asp.net?
What does occur first in ASP.Net, Authentication or Authorization?
What is the use of web.config and machine.config files?
What's the use of response.output.write()?