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:
  #1  
Old December 22nd, 2003, 04: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, 01: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: 6
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





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

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





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek