From: shane <sh...@lo...> - 2003-04-09 10:22:50
|
What's the precident for determining a user's section? If I hit somesite.com, generally you'd do something like this: my $section = $reader->getSection($form->{section}); and you'd get section='index', for the most part. And if a site has sections setup that have their own tld, then if you hit mysection.somesite.com you'd get the section 'mysection'. Yet, if you specify on the command line mysection.somesite.com?section=othersection then the section's actually set to 'othersection'. (see it in action: http://ask.slashdot.org/?section=science ) So therefore, anytime the section is specified via a http query param it takes precidence? I still don't understand where $user->{currentSection} and $user->{mode} come in, but that may not relate directly to this msg. If this is the case, where specifying ?section=blah overrides, why do we let it override? It doesn't seem like we should let it override, ever. So what am I overlooking? Thanks, Shane |