CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Need a Custom or Prewritten Perl Program?: Throw Down The Gauntlet:
Cookie based, user selectable redirect needed



Mar 29, 2000, 11:31 AM

Post #1 of 2 (3888 views)
Cookie based, user selectable redirect needed Can't Post


This is what I'm looking for:

My web site has a fairly generic first page that makes sense for casual visitors and the first few times that people come, but is static, and is never the reason people come to the site.

I would like the users to be able to select from a set of interior pages which page they would like to see when they first come to the site, and for this script to record their choice (via cookies) and redirect them to the appropriet page on subsequent visits.

The site currently uses frames, and there are fairly good reasons for continuing to do so, so bookmarking interior pages is not as nice an option.

If anyone already has something similar to this, please let me know.

Lloyd Sommerer


Apr 2, 2000, 9:31 AM

Post #2 of 2 (3888 views)
Re: Cookie based, user selectable redirect needed [In reply to] Can't Post

Sometimes you just have to do things yourself... Here's the script that I wrote to take care of the problem I noted above. If you want to see it in action you can go to

You can grab the script from:

I hope (but don't really count on) someone else can use this as well.

Lloyd Sommerer


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives