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
What are tuples?
How many types of session in ASP.NET
Do you support digital rights management to protect my videos?
What parameters can you pass in the url of the api?
Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?
Explain the difference between debug.write and trace.write? When should each be used?
Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?
Explain about asp.net state management?
What are custom user controls in asp.net?
Explain the difference between array and linkedlist?
Why do we need Sessions?
what are the ihttphandler and ihttphandlerfactory interfaces ?
Why session management is required?
What is autopost?
How can you register a custom server control to a web page?