Author: Scandic | Posted on: 6/28/2009 3:06:38 PM | Views : 298

1.aspx
<script language="VB" runat="server"> Dim ToSend As String Sub Page_Load(Sender As Object, E As EventArgs) ToSend = "Hello World!" Response.Redirect("Default2.aspx?MyString=" + ToSend) End Sub </script>

 2.aspx
<script language="VB" runat="server"> Dim MyStr As String = Request.QueryString("MyString") Sub Page_Load(ByVal Sender As Object, ByVal E As EventArgs) Response.Write(MyStr) End Sub </script>
 
 
I got error message : Request is not available in this contextAny idea how to solve that problem ?. I can not change MyStr to a local variable under Page_load.Hope anybody can help me.....regardsScandic
...

Go to the complete details ...