Yeah actually, that's what I just tried out and seems to be the problem. Apparently when I query the string and break it up, the queries are being stored for future use. When I printed out the query results each time, I always get the same values:
First try: http://www.nutty.ca/perl/index.cgi?page=photoAlbum?category=blah1&album=blah2&photo=blah3 $category = ($QUERY{'category'}); ==> blah1 $album = ($QUERY{'album'}); ==> blah2 $photo = ($QUERY{'photo'}); ==> blah3 Second try, using links to return back "home": http://www.nutty.ca/perl/index.cgi?page=photoAlbum $category = ($QUERY{'category'}); ==> blah1 $album = ($QUERY{'album'}); ==> blah2 $photo = ($QUERY{'photo'}); ==> blah3 But all three values should have been empty since those queries don't exist. This is odd since those older values should have been erased instead of being stored and reused again. Oh, and $QUERY is just a method derived from $ENV{'QUERY_STRING'} to break up the results in the URL header. To fix it, I could simply reset the variables like so: http://www.nutty.ca/perl/index.cgi?page=photoAlbum&category=&album=&photo= But I'd rather reduce the amount of header overhead if possible. -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html