Here's my requirement:
When a desktop application (smart client) makes a request to our ASP.NET
server, the request has to be redirected to a 3rd party provider.
AND
Option A - The 3rd party provider should be able to deliver the information
back to the smart client directly
OR
Option B - The 3rd party provider should be able to deliver the information
back to our server which in turn is sent back to the smart client.
If its Option A, I believe we have to manipulate the HTTP request so that
the 3rd party provider understands the information would be sent to the
smart client instead of giving it back to our server. Can we use something
like HTTPHandler or HTTPModule to do this? How exactly?
If its Option B, I believe we have to maintain the session as it arrives
from the client and be able to deliver back to the client when 3rd party
provider responds.
Is it possible to maintain the long standing session in IIS while the
request is re-directed? How to do it?
Greatly appreciate your inputs!
Thanks
Arc 1 1034
arc wrote: Here's my requirement:
When a desktop application (smart client) makes a request to our ASP.NET server, the request has to be redirected to a 3rd party provider.
AND
Option A - The 3rd party provider should be able to deliver the information back to the smart client directly OR Option B - The 3rd party provider should be able to deliver the information back to our server which in turn is sent back to the smart client.
If its Option A, I believe we have to manipulate the HTTP request so that the 3rd party provider understands the information would be sent to the smart client instead of giving it back to our server. Can we use something like HTTPHandler or HTTPModule to do this? How exactly?
No. A redirect informs the client to look for the requested resource
somewhere else. Thus, the client knows to ask the 3rd party site if
redirected.
Client --GET--> YourSite
Client <--302-- YourSite
Client --GET--> 3rdParty
Client <--200-- 3rdParty
If its Option B, I believe we have to maintain the session as it arrives from the client and be able to deliver back to the client when 3rd party provider responds. Is it possible to maintain the long standing session in IIS while the request is re-directed? How to do it?
Option B means you send a new request to the 3rd party site in order to
produce the response for the client:
Client --GET--> YourSite
void Page_Load() { // or any other method
YourSite --GET--> 3rdParty
YourSite <--200-- 3rdParty
}
Client <--200-- YourSite
Cheers,
-- http://www.joergjooss.de
mailto:ne****** **@joergjooss.d e This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: paul koelle |
last post by:
Hi list,
My ultimate goal is to have a small HTTP proxy which is able to show a
message specific to clients name/ip/status then handle the original
request normally either by redirecting the client, or acting as a proxy.
I started with a modified version of TinyHTTPProxy postet by Suzuki
Hisao somewhere in 2003 to this list and tried to extend it to my needs.
It works quite well if I configure my client to use it, but using
iptables...
|
by: amygdala |
last post by:
Hello all,
I have posted a similar question in comp.lang.php in the past, but haven't
had any response to it then. I kinda swept the problem under the rug since
then. But I would really like to resolve this issue once and for all now.
The problem might be PHP related but since I only develop applications using
PHP, I'm not a hundred percent sure. Therefor I've taken the liberty to
crosspost to comp.lang.php and alt.www.webmaster. I...
|
by: Jonathan Wood |
last post by:
I've spent days trying to come up with a solution. I'd appreciate it if
anyone can help.
My site requires all users to log on. There are three different roles of
users, and each user type will have access to a completely different set of
pages. "Client" pages are in the root folder and "Admin" and "Trainer" pages
each have their own subfolders.
The problem is that when a user goes to the domain, I want to redirect
"Admin" and...
|
by: damiensawyer |
last post by:
Hi,
I'm trying to do something in global.asax that I would have thought to
be quite simple. Basically, any request at all should get sent to
another page. I actually got the code below from a book. For some
reason, it's not working.
Can someone please tell me what I'm doing wrong?
Thanks in advance,
|
by: barunva |
last post by:
Hi All,
Can you please answer my following question:
I have two web servers; one is based on Linux Operating System and the second one is based on AIX OS, and both are geographically apart, with no NFS (Network File System) between them.
Suppose the client makes a request to one of the web servers to undertake his task. But when one of the servers is down, the job has to be redirected (either IP level with packet rewriting or at HTTP...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |