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


Please Help Members By Posting Answers For Below Questions

List some of the important session state modes of asp.net.

606


What are the events in a page life cycle?

616


Explain parts of assembly?

637


Do you know about caching with the datasource controls?

561


What is the difference between localization and globalization?

663






How can we create pie chart in asp.net?

679


Explain the difference between Web Garden and Web Farm?

650


What is application state?

595


Why do we need asp.net?

683


What is data caching?

645


What are the different types of sessions in asp.net?

573


Mention the execution process for managed code?

628


What is a url string?

651


Which authentication uses a combination of windows and iis authentication?

670


What is the difference between globalization and localization?

565