From: Christopher W. <cw...@jo...> - 2004-01-16 19:45:23
|
Hey everyone, Here are three facts that will lead up to a question. 1) When someone hits my slash site, they end up at /index.pl 2) /homepage/index.shtml exists 3) A cookie tracks if they're signed in or not (when anonymous, the cookie is user=nobody) Here's what I'm wondering. How can I create something simple that... 1) Checks for a cookie. 2) If cookie does not exist, or equals nobody, redirect to /homepage/index.shtml 3) Otherwise, hit index.pl This would really take some load off of dynamic perl, thus helping performance and stability. Has anyone done this? Thanks, Chris |