color preference test revisit
Posted on 2005-03-20
This question is continous of the follwoing question.
I made a “color preference” form that collects the user’s preferred foreground and background colors and send the data to a JSP page that displays come message using those colors. if the user fails to supply either of the colors, use whatever value they gave last time. If there was no previous value, then use a default.
So, if the user goes directly to the JSP page (bypassing the form), the JSP page should still work fine.
If I redo the color preference example and if the user fails to supply any of the parameters, use whatever color the most recent user gave last time. could this give any bad results?