Solved

CGI forward

Posted on 2000-03-07
5
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…

738 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