Boa noite Pessoal, Fiz um lógica abaixo, para quando for um determinado usuário os botões do sistema seja habilitado. <% if Session("nome") <> "jrabelo" then %> <input name="btnSalvar" id=button type="submit" onmouseover="sts(this,'on')" onmouseout="sts(this,'off')" value="Salvar"> <input name="btnAlterar" id=button type="submit" onmouseover="sts(this,'on')" onmouseout="sts(this,'off')" value="Alterar"> <input name="btnExcluir" id=button type="submit" onmouseover="sts(this,'on')" onmouseout="sts(this,'off')" value="Excluir" onClick="java script:window.location='default.asp?del=<%=rs(0)%>'"> <input name="btnLimpar" id=button type="reset" onmouseover="sts(this,'on')" onmouseout="sts(this,'off')" value="Limpar" onClick="java script:window.location='default.asp'"> <input name="btnFechar" id=button type="button" onmouseover="sts(this,'on')" onmouseout="sts(this,'off')" Value="Fechar" onClick="java script:window.close()"> <%else%> <input name="btnSalvar" id=button type="submit" onmouseover="sts(this,'on')" onmouseout="sts(this,'off')" value="Salvar" disabled="true"> <input name="btnAlterar" id=button type="submit" onmouseover="sts(this,'on')" onmouseout="sts(this,'off')" value="Alterar" disabled="true"> <input name="btnExcluir" id=button type="submit" onmouseover="sts(this,'on')" onmouseout="sts(this,'off')" value="Excluir" disabled="true" onClick="java script:window.location='default.asp?del=<%=rs(0)%>'"> <input name="btnLimpar" id=button type="reset" onmouseover="sts(this,'on')" onmouseout="sts(this,'off')" value="Limpar" disabled="true" onClick="java script:window.location='default.asp'"> <input name="btnFechar" id=button type="button" onmouseover="sts(this,'on')" onmouseout="sts(this,'off')" Value="Fechar" onClick="java script:window.close()"> <%end if%> A lógica é que se for <> de jrabelo os botões fica disabled="true" senão disabled="false" Essa lógica não está funcionando, alguém poderia me ajudar??? tem alguma sugestão de outra lógica ???