Connecting Tech Pros Worldwide Help | Site Map

problem with passing variable from ASP.NET to ASP

Newbie
 
Join Date: Oct 2009
Posts: 12
#1: Oct 13 '09
Desperately need help....

here's the snippet of my code that im trying to solve since last week...

icePayment.aspx

If (Left(Request.Form("return_url"), 7) <> "http://") Then

errorInput = errorInput & "Invalid return URL path! <BR>"

errorExist = True


Response.Redirect("InvalidUrlError.aspx")



Else



Session( "res") = "1"

TextBox2.Text = Session(Response.Redirect(Request.Form("res")"retu rn_url"))



payResult.asp


<% if ( Request.QueryString(Session("res") ) = "1") then %>

Thanks!
<% else %>
sorry
<% end if %>



However,it could not be captured in payResult.asp

Ive tried using Request.form(Session("res"), Session("res") in payResult.asp but still it doesnt work...
ssnaik84's Avatar
Member
 
Join Date: Aug 2009
Location: Bengaluru, India
Posts: 119
#2: Oct 14 '09

re: problem with passing variable from ASP.NET to ASP


it's a duplicate question in asp.net category.. where Frinny has already replied..
CroCrew's Avatar
Expert
 
Join Date: Jan 2008
Location: Michigan
Posts: 338
#3: Oct 14 '09

re: problem with passing variable from ASP.NET to ASP


It's a duplicate question in Clasic ASP category also:

passing variable from asp.net to asp
Reply