A
Andrew Thompson
Strategy for log-in on web-site
Assuming I have a group of pages,
an index.jsp and (say) page1.jsp thru
page5.jsp.
The idea is that I want to ensure that each
visitor sees and agrees to a 'useage agreement'
before viewing _any_ of the pages
(irregardless of which page they surf in on),
and that particular pages had extra 'UAs'
(say ..pages 3 & 5) that have to be passed.
My first thought is to achieve this using a
JavaBean, adding that bean to the user's
session through each of the pages.
However, I'm new to server side, so
my question is...
Is that a good strategy, would a JavaBean
be the best way to ensure the desired
behaviour?
Assuming I have a group of pages,
an index.jsp and (say) page1.jsp thru
page5.jsp.
The idea is that I want to ensure that each
visitor sees and agrees to a 'useage agreement'
before viewing _any_ of the pages
(irregardless of which page they surf in on),
and that particular pages had extra 'UAs'
(say ..pages 3 & 5) that have to be passed.
My first thought is to achieve this using a
JavaBean, adding that bean to the user's
session through each of the pages.
However, I'm new to server side, so
my question is...
Is that a good strategy, would a JavaBean
be the best way to ensure the desired
behaviour?