Solved

CGI forward

Posted on 2000-03-07
5
211 Views
Last Modified: 2010-05-18
Hi!

I'm making a kind of file protection, but with links.

How can I make a call that does something like :

When someone uses link : http://www.mycompany.com/cgi-bin/link.exe?1

it redirects the user to www.experts-exchange!

Notes :

No meta refresh tags, because if you press back, it goes to the meta refresh page... If he presses back, he should go to the page with the first link...

I'm using Delphi 5 and CGI Experts 5.01


Thanks
0
Comment
Question by:jpcs
  • 3
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
kubeerja earned 100 total points
ID: 2593817
I am using
Response.SendRedirect('http://www.experts-exchange') ;

to redirect to a nother site.
It should work if you are using Delphi WebModule . I am not sure of CGI Experts 5.01 but I think they should have similar method.
0
 
LVL 1

Author Comment

by:jpcs
ID: 2593898
Sorry, but I couldn't make it work...
0
 
LVL 1

Author Comment

by:jpcs
ID: 2593910
Hey... After all there is one

procedure urlredirect (url : string; Metarefresh : boolean);

and it works just fine.

You didn't give me the answer, but you gave me an usefull tip that helped me finding the way, therefor, I'll give you the points.


Thanks
0
 
LVL 1

Author Comment

by:jpcs
ID: 2593911
Hey... After all there is one

procedure urlredirect (url : string; Metarefresh : boolean);

and it works just fine.

You didn't give me the answer, but you gave me an usefull tip that helped me finding the way, therefore, I'll give you the points.


Thanks
0
 
LVL 2

Expert Comment

by:kubeerja
ID: 2594563
thanks for the points.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Working with hours 3 65
How to renew a Delphi rad-studio licence? 5 69
Dynamically Created Query 3 62
Browsing a TTreeView in Delphi 5 9
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question