If you record the last page the user was on (with a specific session-id)
and then check the referrer server variable on their next hit. Compare
the referrer to their last known page. Most of the time (depending on the
complexity of your site) the referrer and last known page should match.
If their session is 'hijacked', odds are the 'hijacker' will not be
following in a valid user's footsteps, more likely they will just be
coming at the server with rogue data. The referrer check won't match and
thus the validity of the session request is also void.