Forums
This topic is locked
Show region
Posted 04 Nov 2002 12:27:59
1
has voted
04 Nov 2002 12:27:59 Jelle-Jacob de Vries posted:
Can I show a region based on a username?I've made a page where people can see userprofiles of themself and other people, on that page is a link to edit or delete the profile of the specific user.
If the profile of a specific user is not the same as the user that is logged in then, the link to edit or delete must not be visible.
I hope someone can help me, if so could you give me an code example?
Thanks in advance
Replies
Replied 04 Nov 2002 14:10:57
04 Nov 2002 14:10:57 Vince Baker replied:
Create a recordset of your users and filter it by the username logged in.
Then, add a show region if the recordset is not empty on the item you want to show / hide.
Regards
Vince
Response.write("The best line of code you can ever use"
VBScript | ASP | HTML | SQL | Oracle | Hosting
Then, add a show region if the recordset is not empty on the item you want to show / hide.
Regards
Vince
Response.write("The best line of code you can ever use"

VBScript | ASP | HTML | SQL | Oracle | Hosting