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 many web config files can be created for an application?
Explain the differences between clr & cts?
Explain the use of duration attribute of @outputcache page directive.
Can you clarified A Web service can only be written in .NET or not?
What is viewstate? In which event of the page life cycle, is the viewstate available?
In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?
What is an asp.net web form?
Where is http session stored?
What are the types of session in asp.net?
What are the different types of sessions in asp.net?
Can we handle the error and redirect to some pages using web.config?
Differentiate between namespace and assembly.
What is difference between singleton and single call?
Differentiate between a page theme and a global theme?
What is the difference between client-side and server-side validations in webpages?