Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Server side redirection

Reply
Thread Tools

Server side redirection

 
 
brijesh
Guest
Posts: n/a
 
      11-17-2004
Hello all,

I want to perform server side redirection. I want that request should
be forwarded to another cgi file after some processing. Please if
anyone knows , how to do it. drop me a message.

I know "print redirect($url)" method.. But i dont want that , so
please if anyone know any other method , reply it.

Thanks in regards,
Brijesh
 
Reply With Quote
 
 
 
 
Anno Siegel
Guest
Posts: n/a
 
      11-17-2004
brijesh <> wrote in comp.lang.perl.misc:
> Hello all,
>
> I want to perform server side redirection. I want that request should
> be forwarded to another cgi file after some processing. Please if
> anyone knows , how to do it. drop me a message.


You are asking the wrong people. This is not a Perl question but
a question about the capabilities of your web server, and possibly
about CGI. Ask in a group that concerns itself with these.

> I know "print redirect($url)" method.. But i dont want that , so
> please if anyone know any other method , reply it.


You should also give a reason why you reject a working solution.
People won't be inclined to search for an alternative if you don't.

Anno
 
Reply With Quote
 
 
 
 
Gunnar Hjalmarsson
Guest
Posts: n/a
 
      11-17-2004
brijesh wrote:
> I want to perform server side redirection. I want that request should
> be forwarded to another cgi file after some processing. Please if
> anyone knows , how to do it. drop me a message.
>
> I know "print redirect($url)" method.. But i dont want that , so
> please if anyone know any other method , reply it.


print "Location: $url\n\n";

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
 
Reply With Quote
 
Tad McClellan
Guest
Posts: n/a
 
      11-17-2004
brijesh <> wrote:

> I want to perform server side redirection.


> I know "print redirect($url)" method.. But i dont want that ,

^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^

Why not?

If you don't tell us why the standard way won't work for your
situation, then we cannot suggest a work-around for your situation...


--
Tad McClellan SGML consulting
Perl programming
Fort Worth, Texas
 
Reply With Quote
 
Joe Smith
Guest
Posts: n/a
 
      11-17-2004
brijesh wrote:

> I want to perform server side redirection.


You want the server to send something to the browser to cause
the browser to go to a different URL, right?

> I know "print redirect($url)" method.. But i dont want that


Unless there is more to the task than what you've posted,
that method or (its equivalent) is what you have to use.

Having one CGI post-process another CGI's output is a different topic.
-Joe
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Needed: Can't Successfully Perform Server-side Redirection Mike Hofer ASP .Net 1 12-01-2006 03:27 PM
Server-Side Control - Embedded Server-Side Code - Inline Mythran ASP .Net 2 01-22-2005 01:02 AM
client-side browser timeout OR server-side web server timeout?? (please help) jrefactors@hotmail.com HTML 1 01-04-2005 06:13 AM
client-side browser timeout OR server-side web server timeout?? (please help) jrefactors@hotmail.com Java 0 01-04-2005 04:06 AM
data synchronisation - java server side or www server side? Thor Java 1 07-02-2003 05:44 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57