|
| Hey.
I'm using session variables to track a user and customize their
experience (basically, so they can edit they're own listing, and not
anyone else's).
I decided to piggyback my database filter onto the MM_Username Session
Variable.I'm filtering results based on Email address of user (which is
their login id) like so: Usr_email=Session Variable MM_Username (that's
in the binding dialogue box, not in the code).
It works for a couple of pages that I click through to, but then it
stops recognizing the variable. I've got the pages User Authenticated,
and that's working so the MM_Username variable should still be in
effect, right?
I read the section in the manual about five times, and went through the
User Authentication tutorial at the Dev Center, but they don't really
help in this situation. Is this just not working because I'm running off
a localhost (which has caused problems for a few things before), or am I
doing something wrong? If so, is there a better way to track session
variables?
All I want to do is make sure that when someone logs in as Bill, he
can't go messing with Anne's info. I can post code, if anyone wants to
look at it, though it's just generated by Dreamweaver.
|
|