Haidar
01-08-2010, 01:08 AM
Hey!
I have looked abit around this forum and i did see many active people trying to help in asp, so i wonder if you could help a newbie like me :thumbsup:
Question:
I have made an beginner login system and the pages is secuired with those codes:
at the top
<%
session.Timeout = 50
' timeout in minute
loginstatus = session("login")
if loginstatus = "yes" then
%>
and at the bottom of the page
<%
else
Response.Redirect "login.asp"
end if
%>
So you have to login if you want to get acced to other pages but how do i make an sign out link? I have tried many ways with session and other examples but it dosen't work i still can press the hit back button and get access. Please any help?
Indeed sorry for my bad english and i really dont know if those code i post wont to help to solve the problem :P hope u help me!
I have looked abit around this forum and i did see many active people trying to help in asp, so i wonder if you could help a newbie like me :thumbsup:
Question:
I have made an beginner login system and the pages is secuired with those codes:
at the top
<%
session.Timeout = 50
' timeout in minute
loginstatus = session("login")
if loginstatus = "yes" then
%>
and at the bottom of the page
<%
else
Response.Redirect "login.asp"
end if
%>
So you have to login if you want to get acced to other pages but how do i make an sign out link? I have tried many ways with session and other examples but it dosen't work i still can press the hit back button and get access. Please any help?
Indeed sorry for my bad english and i really dont know if those code i post wont to help to solve the problem :P hope u help me!