Re: Make history HOW?
| From: | Russ Michell | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Make history HOW? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8701@lists.php.net to get a copy of this message | ||
I have a similar PHP system on my site using sessions:
I have an admin session, where each step(1-5) is a different
page(script) and as each page is progressed into a new session is
registered with the users username, the activity currently being edited
and the team within this activity they are editing.
This same method could be employed by you where the page title is
registered as a session variable and echoed to the page. If the user
goes back a page then check to see if the variable is set and if it is
then unregister or destroy it, thus delivering an accurate method of
the users progress throughout the site.
if(!empty($yourvar)) {
session_unregister('yourvar');
}
Hop this is of some use to you!
Regards:
Russ
#-------------------------------------------------------#
"Believe nothing - consider everything"
"Web Developers do it on-the-fly."
Russ Michell
Anglia Polytechnic University Webteam
www.apu.ac.uk/webteam
r.j.michell@apu.ac.uk
+44 (0)1223 363271 ext 2331
www.theruss.com
#-------------------------------------------------------#