I am working on a site that will have several pages and where the user will
find some investment advices. I must say that the concept of
sessions/session variables is relatively new for me.
What I noticed is the following: when I write "form method is ""post"
action = page2.php", and in page2.php I write
"session_register("someVariable") the value of the variable is registered
but if I visit some further pages and go back to page1, I cannot change the
value of the variable anymore by changing the content of the form field. The
only thing I can figure out to resolve this problem would using the
HTTP_REFERER : if the user comes from page 2 the variable should be
unregistered in page 1, so it can be registered in page 2 again.
I have been looking in Google for better alternatives for such a multiple
page site but maybe I just entered the wrong searching keywords.
Any suggestion or even a link to a page that discusses this topic will be
very welcome.
Thanks,
Martien van Wanrooij