Steve,
you can not use the session variable in the asp page... what is wrong with
putting it in the url of the page?
The only way I can see you achieving what you want is by either sending the
variables in the url like I mentioned before or better yet why don't you
write a new web service to go with your new web application and get that to
write the variables to the database. It is easy enough to do.
Gavin
"Always Learning" <st**********@lineone.net> wrote in message
news:eQ******************@TK2MSFTNGP10.phx.gbl...
Hi Gav,
I have tried using
Session("Name") = Textbox1.Text
Session("Telephone") = TextBox2.Text
in the .aspx page but how do I reference them in the .asp page. I am
having trouble with this.
Thanks for your help.
Steve Wilson.
"Gav" <sp**@spam.com> wrote in message
news:eq**************@tk2msftngp13.phx.gbl... I'm not sure about that, sorry. I've not done it from aspx to asp but I
have from aspx to aspx and the only ways I know to do it is, to either put it
in the URL as said before... or to use session variables.
Sorry I can't help you more.
Gav
"Always Learning" <st**********@lineone.net> wrote in message
news:%2***************@tk2msftngp13.phx.gbl... Hi Gav,
Thanks for the response.
Is there no way to reference the request form variables like classic asp?
Best regards,
Steve Wilson.
"Gav" <sp**@spam.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
> Once you have 'redirected' to another page Textbox1 will no longer exist you
> have to put it in the url and put it in rs('') in the ASP page...
ie > aspx
> Request.Redirect("writetodb.asp?Name=" + Textbox1.Text)
> asp
> rs("Name")= Request.Param("Name");
>
>
>
> "Always Learning" <st**********@lineone.net> wrote in message
> news:OK**************@tk2msftngp13.phx.gbl...
> > Hi Guys,
> >
> > I am still searching for an answer to this question. Can you help me? > >
> > If I have a field on a .aspx form, the classic Textbox1. How do I send the
> > Textbox1.Text to an .Asp page and assign it to say rs("Name")
variable. > > Because I have used Request.Redirect("writetodb.asp") in my button
click > > event, I thought I could use
> > rs("Name") = request.form("Textbox1") but this does not work.
> >
> > I am using this method because I am trying to create a new .net input form
> > based on an old .asp form and then calling the original .asp page
to write
> > to the database. If I could just convert the .net form variables
to the > > variables I used in my original .Asp page all would be ok.
> >
> > Any ideas would be greatly appreciated.
> >
> > Best Regards,
> >
> > Steve Wilson.
> >
> >
>
>