|
-
May 20th, 2003, 11:13 AM
#1
Thread Starter
Lively Member
How to pass a structure to another site
Hi,
I have this situation: I built an site that contain an secure folder where I capture some sensitive information. The data that I capture it is stored in a structure, and then the structure in a session so I can use it later.
Now, all the secure pages will be moved to a diferent website, so I heve to leave my site, run the page on the secure site and then come back to my unsecured site.
How can I pass that structure between sites? Any other ideeas?
I know that if you move from one website to onother, the sessions will not follow you.
Thank you,
Svatasoiu
-
May 20th, 2003, 11:23 AM
#2
PowerPoster
You can use a web service and pass the structure like that. Or you could maybe serialize the stucture (not sure if structures are able to serialize, if not, you could create a object that you could store your structure in, then serialize that) then pass that to your app if you have ways to recieve it and process it.
-
May 20th, 2003, 11:31 AM
#3
Thread Starter
Lively Member
Thank you for the reply.
I do not understand something: when I change from one page to another I do a redirect or a server.transfer. How can I pass an serializable object and where? in the query string...?
Can you build a small ex or explain a little bit more. This kind of transfer is something that I never did.
Thank you,
svatasoiu
-
May 20th, 2003, 11:58 AM
#4
PowerPoster
How much data are you passing? What does the structure look like?
Also, do you have control of both web servers?
-
May 20th, 2003, 12:50 PM
#5
Thread Starter
Lively Member
The structure looks like this and there may be strings, integers
Public Structure CreditCardInfo
Public Sub ClearAll()
End Sub
Public CardHolder As PersonInfo
Public CardType As String
Private mCardNum As String
Private mCardExpMonth As String
Private mCardExpYear As String
Private mCardExpDate As String
Private mAmount As Double
Private mValidResponse As String
Private mResponseCode As String
Private mResponseReasonCode As String
Private mResponseReasonText As String
Private mApprovalCode As String
Private mAVSResultCode As String
Private mTransactionID As String
End structure
Yes, I can control both sites.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|