方案一、如果你们只有单个域用户。如本企业自身用。那么大可去掉前自动判断域名。因为你们的账户有可能是不需要域名就进入的。
请问楼主如何去掉前自动判断域名?恕我愚笨。
已经解决
修改default.asp文件
去掉
'远程提交登陆数据判断
if request("remoteusername")<>"" and request("remotepassword")<>"" then
if InStr(request("remoteusername"),"@")=0 then
%>
document.getElementById("usernameshow").value="<%=request("remoteusername")&"@"&from%>";
<%else%>
document.getElementById("usernameshow").value="<%=request("remoteusername")%>";
<%end if%>
document.getElementById("pwshow").value="<%=request("remotepassword")%>";
gook();
<%end if
以及
function remendinput(userinput) {
if (userinput!="admin" && userinput.length>0){
if (userinput.indexOf("@")< 0){
document.getElementById("usernameshow").value=userinput + "@<%=from%>";
}
}
}
现在可以登陆了
支持一下,非常不错。很好。
原帖由 wutou 于 2008-4-25 06:19 发表 http://bbs.5dmail.net/images/common/back.gif
已经解决
修改default.asp文件
去掉
'远程提交登陆数据判断
if request("remoteusername")"" and request("remotepassword")"" then
if InStr(request("remoteusername"),"@")=0 then
%>
documen ...
还要将用户名框的onblur 事件修正。
改成:<input type="text" id="usernameshow" name="usernameshow" maxlength="64" class="inp" value="">
[ 本帖最后由 Freemikej 于 2008-4-25 14:46 编辑 ]
楼主强人
热心人,向楼主学习
斑竹每次更新咋就不加分呢?难道又要另起一帖才能挣点5D金币?
好像不错
继续努力
很好,很强大:) :victory:
再次顶你。十分感谢。。。。
:lol ,感谢锤子,支持,顶!~:victory:
