Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CGI forward

Posted on 2000-03-07
5
Medium Priority
?
222 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 400 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Screencast - Getting to Know the Pipeline
Suggested Courses

971 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