Solved

CGI forward

Posted on 2000-03-07
5
212 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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
code issue 8 183
Delphi Seattle: Project Options : Version info for all platforms, all releases? 2 113
QRReport  TQrmemo vertical stretching 1 56
RESTRequest Parameter 4 53
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

756 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