Solved

CGI forward

Posted on 2000-03-07
5
208 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now