Forums

ASP

This topic is locked

User specific information question.

Posted 26 Sep 2002 15:15:27
1
has voted
26 Sep 2002 15:15:27 Brian Dunk posted:
Hello, I have an address book, populated by registration, using an Access db that has update and delete links after each registered user. I would like to display the update and delete link only to the user that has logged in. Is this possible using VB ASP pages? I.E I log in as bdunk and i would see the update and delete link next to my name only. thanks so much. Bdunk

Replies

Replied 14 Oct 2002 20:01:24
14 Oct 2002 20:01:24 Rene Bommezijn replied:
Here's a usefull and very simple way:

<%If Database("UserID".Value = session("UserID" Then%>
<a href="edit.asp">edit</a>
<%Else%>
<"">
<%End If%>



Edited by - Habahaba on 14 Oct 2002 20:03:37

Reply to this topic