Gossamer Forum
Home : Products : Gossamer Links : Discussions :

redirecting after rate.cgi/deadlink.cgi etc.

Quote Reply
redirecting after rate.cgi/deadlink.cgi etc.
Someone is browsing through your site and sees a link they perhaps no or have seen before and click on the rate link. They then rate it and go to the thank you page. Now they are in a dead situation really and i think lots might just close their browser. What should happen? they should be redirected back to the page they were on before they got to rate.cgi

So the "thank you" page should come up with a ... thank you for rating sitename... you will be re-directed to the category listing in 30 seconds ...

how could this be done?

I imagine that on the thank you page we could get access to the category id and then re-direct based on that but we would not know which cat if the link was in more than 1.

A better way (and this is what vbulletin does when you register) is have something like:

www.domain.com/dir/rate.cgi?ID=45&return-url=http://www.domain.com/pages/Top/Blah

sort of thing but of course / are replaced by the code whatever it is meant to be.

This returnurl is then parsed through as a hidden variable from rate.cgi to thanks.html and then if returnurl != "" you are re-directed to it.

Make sense? any idea how? Would be very useful for a number of mods i would think from suggest to friend, rate, deadlink etc...

http://www.ASciFi.com/ - The Science Fiction Portal
Subject Author Views Date
Thread redirecting after rate.cgi/deadlink.cgi etc. padders 5010 Mar 20, 2001, 10:55 AM
Post Re: redirecting after rate.cgi/deadlink.cgi etc.
pugdog 4888 Mar 20, 2001, 11:06 AM
Thread Re: redirecting after rate.cgi/deadlink.cgi etc.
Paul 4886 Mar 20, 2001, 11:06 AM
Thread Re: redirecting after rate.cgi/deadlink.cgi etc.
padders 4868 Mar 20, 2001, 11:24 AM
Post Re: redirecting after rate.cgi/deadlink.cgi etc.
Paul 4876 Mar 20, 2001, 11:35 AM
Thread Re: redirecting after rate.cgi/deadlink.cgi etc.
Stealth 4879 Mar 20, 2001, 11:29 AM
Thread Re: redirecting after rate.cgi/deadlink.cgi etc.
padders 4866 Mar 20, 2001, 11:42 AM
Thread Re: redirecting after rate.cgi/deadlink.cgi etc.
Stealth 4879 Mar 20, 2001, 11:44 AM
Thread Re: redirecting after rate.cgi/deadlink.cgi etc.
padders 4856 Mar 20, 2001, 12:56 PM
Post Re: redirecting after rate.cgi/deadlink.cgi etc.
padders 4873 Mar 20, 2001, 12:58 PM
Thread Re: redirecting after rate.cgi/deadlink.cgi etc.
Stealth 4863 Mar 20, 2001, 1:00 PM
Thread Re: redirecting after rate.cgi/deadlink.cgi etc.
ken707 4837 Apr 8, 2001, 9:02 PM
Post Re: redirecting after rate.cgi/deadlink.cgi etc.
Stealth 4839 Apr 8, 2001, 9:17 PM