Forums
This topic is locked
Question on how to...
23 Mar 2002 23:06:22 Phuc Ngo posted:
Hi everyone!I want to build a site similar to hotmail.com....
What I want to do is when a user login in... I have a navigation menu on the
left with a list of links like : homework, your info, teacher
comments...etc... When a user click on the "homework" link it will display
that user homework information. When a user click on "info", it will
display that user info. In all, the page will only display related info of
the logged in user no matter what link he is clicking.
When the next person logon, it will do the same thing again. It will only
display records related to that user only. Just like hotmail.com, once you
logged in and if you click on the "money" link it will display only your
account and not anyone else.
Am I on the right track when I say this have something to do with session
variable. Could any one out there point me a tutorial or show me how I can
do this.
Thanks
-Dave
Replies
Replied 24 Mar 2002 13:46:27
24 Mar 2002 13:46:27 Matthijs Horsman replied:
hello,
Try filtering the table you made in the database with all the info about all the persons with the id or name form the user that logged in. Dont'know wich kinda db your using but in Acces you need to make a relation between the info table and the user table.
Hope this helps a little
Otherwise feel free to contact me by
Matthijs
Try filtering the table you made in the database with all the info about all the persons with the id or name form the user that logged in. Dont'know wich kinda db your using but in Acces you need to make a relation between the info table and the user table.
Hope this helps a little
Otherwise feel free to contact me by
Matthijs
Replied 24 Mar 2002 13:46:36
24 Mar 2002 13:46:36 Viktor Farcic replied:
Use "LogIn User" server behavior. After user successfully log in, page creates Session variable "MM_Username". Use it to filter data for specific user.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi everyone!
I want to build a site similar to hotmail.com....
What I want to do is when a user login in... I have a navigation menu on the
left with a list of links like : homework, your info, teacher
comments...etc... When a user click on the "homework" link it will display
that user homework information. When a user click on "info", it will
display that user info. In all, the page will only display related info of
the logged in user no matter what link he is clicking.
When the next person logon, it will do the same thing again. It will only
display records related to that user only. Just like hotmail.com, once you
logged in and if you click on the "money" link it will display only your
account and not anyone else.
Am I on the right track when I say this have something to do with session
variable. Could any one out there point me a tutorial or show me how I can
do this.
Thanks
-Dave
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Viktor Farcic
TalkZone Manager
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi everyone!
I want to build a site similar to hotmail.com....
What I want to do is when a user login in... I have a navigation menu on the
left with a list of links like : homework, your info, teacher
comments...etc... When a user click on the "homework" link it will display
that user homework information. When a user click on "info", it will
display that user info. In all, the page will only display related info of
the logged in user no matter what link he is clicking.
When the next person logon, it will do the same thing again. It will only
display records related to that user only. Just like hotmail.com, once you
logged in and if you click on the "money" link it will display only your
account and not anyone else.
Am I on the right track when I say this have something to do with session
variable. Could any one out there point me a tutorial or show me how I can
do this.
Thanks
-Dave
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Viktor Farcic
TalkZone Manager
Replied 27 Mar 2002 15:34:14
27 Mar 2002 15:34:14 Phuc Ngo replied:
Thanks!