Forums
This topic is locked
Div Authentication
Posted 14 Mar 2006 14:01:10
1
has voted
14 Mar 2006 14:01:10 michael Sinton posted:
Hi,Is it possible to authenticate a user who is trying to access a certain Div on a page???
I know how to authenticate a user accessing a standard ASP page, but is this possible with a Div!
Thanks
Michael.
Replies
Replied 14 Mar 2006 21:34:10
14 Mar 2006 21:34:10 Jeremy Conn replied:
Probably makes more sense to only show the DIV if they have the right permissions in the first place.
<% If AccessRights = "true" Then %>
<DIV>
Your content.
</DIV>
<% End If %>
<b>Jeremy Conn</b>
www.conncreativemedia.com
DWMX2004 | ASP/VB | Access/SQL2000
<% If AccessRights = "true" Then %>
<DIV>
Your content.
</DIV>
<% End If %>
<b>Jeremy Conn</b>
www.conncreativemedia.com
DWMX2004 | ASP/VB | Access/SQL2000