0

In my scenario am using java-script popup that popups another form which is an address entry form of merely 20 Controls in it. Now I retrieving data from address page to main page by using a session variable which stores a data table of values. Two different Session variables are this way used for permanent and temporary addresses.

Using session variable degrades the performance i know.

What is the best way to transfer value from one page to another?

Arun Kumar
  • 6,534
  • 13
  • 40
  • 67
Anish Karunakaran
  • 987
  • 3
  • 17
  • 39

1 Answers1

1

The best way is the cross posting, describe it here : http://msdn.microsoft.com/en-us/library/ms178139(VS.100).aspx

You can also read more about at that question/answer: Cross-page posting. Is it a good pratice to use PreviousPage in Asp.net?

Community
  • 1
  • 1
Aristos
  • 66,005
  • 16
  • 114
  • 150
  • But the problem is that address is a common popup.. So that i can't specify the post back URL as – Anish Karunakaran Oct 08 '12 at 12:04
  • But the problem is that address is a common popup.. So that i can't specify the post back URL as . The registry <%@ PreviousPageType VirtualPath="~/address.aspx" %> in employee details also ambiguous for me that the registry declares addres.aspx as the previous page for EmployeeDetils.aspx but its not true always. – Anish Karunakaran Oct 08 '12 at 12:10