index file, and depending on the result, a session variable would be
set to determine the layout the user is to use.
but the user can manually force 1 layout versus another. so think of
use, for this case, lets say it uses layout2)
user then manually goes to mysite.com/layout1 (layout1 is set in the
session variable and used)
up to this point, everything is working fine, but imagine if the user
click back, and then clicks on a link, from the users perspective, it
would seem like layout2 would be used, since thats the layout that was
used when the link was clicked on, but since layout1 was the last set
session variable, it will be used instead.
i want to avoid this problem, so i have been trying to figure out a
way to pass the layout mode as a params value (i.e. mysite.com/page?
layout=1). Is this a good idea? is there was another way to do this?