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

What is the appSettings Section in the web.config file?

588


How do u optimize a query in asp.net?

571


What is a postback in asp net?

541


IN an ASP.NET Web application if there is any error, how can you debug?

587


Why session is more secure than cookies?

504






How is the asp.net mvc architecture different from others? : asp.net mvc

488


What are the events that happen when a client requests an asp.net page from iis server?

488


Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?

565


What is localhost in asp.net?

568


What is difference between session and application in asp net?

493


What is voluum?

544


When should I use server transfer and response redirect?

516


What is a Cookie? Where is it used in ASP.NET?

613


What is application and session in asp.net?

538


Can you explain architecture of your project ?

616