|
[CODE]<%
username = Session("username")
if ("" = username) Then
Response.redirect "/forum/login.html"
response.Write("Sorry, you are not logged in.")
response.End
End if
%>[/CODE]
How do i write that Sorry, you are not logged in ... to the login.asp?
|
|
|
No...
You better try:
<%
username = Session("username")
if ("" = username) Then
response.Write("Sorry, you are not logged in.")
response.Write("<META HTTP-EQUIV=Refresh CONTENT='/forum/5_URLlogin.html'>")
End if
%>
or using url parameters tosend to login.asp page.
Best regards!
|
|
|
|
|
|
|
// |