此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
楼主【micsoulsoft】截止到2008-06-28 11:10:15的历史汇总数据(不包括此帖):
发帖数:4 发帖分:98
结贴数:1 结贴分:20
未结数:3 未结分:78
结贴率:25.00 % 结分率:20.41 %
楼主该结一些帖子了
楼主【micsoulsoft】截止到2008-06-28 11:10:15的历史汇总数据(不包括此帖):
发帖数:4 发帖分:98
结贴数:1 结贴分:20
未结数:3 未结分:78
结贴率:25.00 % 结分率:20.41 %
楼主该结一些帖子了
可以这样:
把提交的内容放进session,登录后判断session里面有没有内容,
如果有就进数据库,并返回原来页面;如果没有内容,就直接返回某个页面
<%
'得到当前页面的地址
if request.Cookies("Username")="" then
response.Cookies("GetUrl")=GetUrl()
response.Redirect("/Company/admin/Login.asp")
response.end
end ifFunction GetUrl()
On Error Resume Next
Dim strTemp
If LCase(Request.ServerVariables("HTTPS")) = "off" Then
strTemp = "http://"
Else
strTemp = "https://"
End If
strTemp = strTemp & Request.ServerVariables("SERVER_NAME")
If Request.ServerVariables("SERVER_PORT") <> 80 Then strTemp = strTemp & ":" & Request.ServerVariables("SERVER_PORT")
strTemp = strTemp & Request.ServerVariables("URL")
If Trim(Request.QueryString) <> "" Then strTemp = strTemp & "?" & Trim(Request.QueryString)
GetUrl = strTemp
End Function
%>