SunQuest
 
           Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
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  
Old December 22nd, 2003, 03:42 AM
kumori25 kumori25 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 3 kumori25 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old December 31st, 2003, 12:37 PM
Skip's Avatar
Skip Skip is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Nov 2003
Location: UK
Posts: 816 Skip User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 21 m 47 sec
Reputation Power: 5
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

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > Response.Redirect


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Try It Free




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway