Why not put them in the session or cache?
Anyways the proper way to do this is to create a reference.
In the old page add
Code:
<%@Page ClassName="SenderPage" %>
in the script add something like this (property)
Code:
public string SomeVar{
get{return TextBox1.Text;}
}
now in recipient form
Code:
<%@Reference Page="SenderPage.aspx" %>
Code:
SenderPage sp;
void page_load(object sender, EventArgs e){
sp = (SenderPage) Context.Handler;
}
This should do the job. But you can always use session variables.