|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Response.Redirect
Hi,
was wondering if anyone can help. i'm trying to use this method in the following situation. users will submit data to my page "collection.asp", from which i will extract the different fields. I will then have to use the data collected to pass to another url "target.SendMessage", which processes the information passed over and returns me some codes on whether the transaction has been successful or not. then i will need to retrieve these codes in my original page "collection.asp" the problem i have is that i can pass the values over to "target.SendMessage" via the query string method, but i would like to do it something like the Frm Post method instead, so the information is not displayed in the address bar. Is this possible? I also have no idea how i can retrieve the success codes (which are actually on "target.SendMessage") in "collection.asp" so that i can use it in some database updating. The sample codes are as follows: ------------------------------------------- "collection.asp" <%@LANGUAGE=VBSCRIPT%> <% ' Begin buffering the HTML ' Note this MUST happen before the initial <HTML> tag. Response.Buffer = True %> <html><head> <title>SM redirect.asp</title> </head><body bgcolor="#FFFFFF"> <% stURL="http://target.SendMessage" DID=Request.Form("dID") Dpd=request.Form ("Dpd") Num=request.Form("Number") cqDID=request.Form ("stID") Msg = request.Form ("Message") %> <p> <% endURL=endURL & "?DID=" & DID endURL=endURL & "&Pd=" & Dpd endURL=endURL & "&Num=" & Num endURL=endURL & "&Msg=" & Msg fullURL=stURL&endURL %> <p> <% response.redirect fullURL %> ------------------------------------------------------------------ "target.SendMessage" this returns codes like "10001", "10002" ------------------------------------------------------------------ I'm still using ASP 2.0, so is there any other way to do this? besides upgrading to ASP 3.0 and using the Server.Transfer or Server.Execute methods (btw - i would also appreciate it if someone could let me know how to use these 2 methods) Help!!!! Thanks |
|
#2
|
||||
|
||||
|
even if you doit via hidden form fields the info will still be visable with view source
You could encrypt your query string then decrypt it on the other side http://www.4guysfromrolla.com/webtech/110599-1.shtml |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > Response.Redirect |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|