Logout
I got the logout code correctly however because my main menu page is divided up into 3 frames, left is content and that's where my logout link will be. When I click logout the login.asp is displayed but on the left frame. How do I get the page to delete the frame. Do I do it in logout.asp
<%@ Language = "VbScript" %>
<%
if request.querystring("cmd") = "logout" then
session("StudentNo") = 0
Response.Redirect("login.asp")
End If
%>
View Replies
ADVERTISEMENT
everytime a user logs out from the protected pages he doesnt really logs out
cuz when he hits the "back" button he can access the pages again.
i tried session.abandon(), but and response.addheader.....
i practically used everything and it didnt work...
View Replies
View Related
when i click log out that you can not return in previous page how can i do that.
i have a code logout but when i click going to redirect to page( login.asp) thats right but when you click the back button he return to admin_control.asp
how can i avoid that.
When click log out that can not return to previous page how how
View Replies
View Related
Is there someway to prevent users from using the "go back one page" function to go back to the previous page after they are logged out
View Replies
View Related
i have a logout link when the user click the logout button. the login page loads but when i click the back button i still have those pages i have acessed before help on how to solve this problem/remedies ?
View Replies
View Related
I have 3 frames in my page. When i log out i would like to replace my framed page with another page. I tried using the link below but nothing happens. Code:
View Replies
View Related
I have a button that would allow a user to logout of the program, how can this be done? Also, how can I allow the program to logout and terminate if not used after so many minutes?
View Replies
View Related
I am facing a strange problem, let me explain the problem and list two different platform i found on some of the client pcs. Problem :-
First time login in to my application page is ok, but if click logout, it wouldnt bring back to login page, it just stay as it is. But if you click on one of the link, it push back to login page.
So for second time to login, no matter how many time you try, it would not able to login.
And i found out if i clear those IE's cookies and offline file, i can login again.
Clients
1) Window2000, IE 6
2) WindowXP, IE 6
And there is only happen certain user's pc, some others user even with same spec have no problem. And I found out if i login into window using different domain user, it does'nt have problem. Is it something to do with user profile of IE setting
View Replies
View Related
I am using a tracking where the S/W shows the status whether the user has logged in or not. I am able to do the same if the user logs out using the proper link. If the user closes the window instead of logging out using the proper link, i am not able to capture the logout time. I tried the window onunload event, (the page contains frames) it does not work. Can anybody show me a way out?
View Replies
View Related
How would i code a logout function?
View Replies
View Related
I have created a web site, where the user can login and logout.
when the user logouts, he should not be allowed back into the site until he logins in again. but in my case when the user logouts, and then press the "Back" button of the browser he is back in the site. Can someone please help me with this
Also how can I restrict the same user logining in twice with the same username and password.
View Replies
View Related
I was wondering if there's a piece of code that will do the following:- When the user closes the database, I want to pass the current date and time into a field in the database!
View Replies
View Related
i am using frams in asp. My problem is,when i click the logout button new window is opened. while i want not to appear new window but login page should be replaced with existing window.
View Replies
View Related
I want to have a logout page that gives members the option to logout.
Is it just a case of doing a simple session.end, or how do I go about it
View Replies
View Related
How to logout from the application using ASP , session object.Can u explain the use of Global.asa file & Once i logded out , if i clik Back button in browser, it shuldnt allow to view the authorised page.
View Replies
View Related
how to do the do the feature which after the user logout, they are not able to view the page again when they hit the back button.
View Replies
View Related
i need a simple ASP code for creating page with login and logout function.anyone can help me?
View Replies
View Related
I have a gaming web site and I would like to have a login and logout which they have to register for. I using a asp host and I'm using ms access for my database.
View Replies
View Related
I am using Session.Abandon on my logout script and works fine I show the you have been succesfully logged out of the system message. my problem is if the user clicks on back he can still see the last page with important info, maybe by the previous user. This doesn't happen for example when you log out form Yahoo mail and others.
View Replies
View Related
I am currently using a script to logout which contains this code only...
<%
Session.Abandon ()
Response.Redirect ("main.asp")
%>
Please could you tell me if there is a way to actually delete the session from the users browser history? The above code works ok, as long as the browser is closed first, deleting the cookie info.
View Replies
View Related
How do I log out a user? I tried to use the following code called from a "Log Out" button.
<%
' Logout of Restricted Section
Session("blnIsUserGood") = False
'Redirect to the home page
Response.Redirect"http://www...org/"
%>
This does set the session variable correctly but if I hit the "Back Button" on my browser I get the page that I last accessed. If I try to navigate from there I am redirected to the log-in page (that is good). So how do I prevent the back button viewing of the last page?
View Replies
View Related
i am having problems with a logout code that i wrote for my site.. when the person logsout, i abandon the session, and so all session variables are set to nothing. now when somebody hits the browser's back button and then the refresh button, message to retry sending information back to the server appears, if i click on retry button, the page is resubmitted and the user logs in again.
View Replies
View Related
I want to implement a 15 minute time lag between logout and login of a new account. If the user sharing the same PC with his friends to log on to my site, he need to wait for 15 minutes after logging out before logging in a new account.
So once a user leaves my site or logs out and wants to login to my site with different username he has to wait for 15 minutes before he can log on again with different username.
View Replies
View Related
when logout pressed the session should expire how to do?
how in yahoo after logging out even if we press browser back it shows to login page like that how to make.
View Replies
View Related
How to prevent resubmit after logout?After logout, I hit back button, then the browser ask whether I want to resend the data? How to prevent this?
View Replies
View Related
Is there a way to clear or reset an authenticated user so that the next visitor using the same machine (without having to close the browser) has to log in with their own account?
View Replies
View Related
I have a logout button for my admin system. I really need on logout, to go back to the login page. This is fine but I also need the session set to false. I could do this via using a secondry page called logout.asp, and place inside that something like session.abandon and a response.redirect. But I do not wish to have a secondry page.
View Replies
View Related
I have a login page, which will redirect to edit.asp if the login credentials entered are correct. I am not using the golbal.aa file, so all sessions are set using the Login Page.
1 Side question before i go any further, does "Session.Abandon" abandon all sessions? Code:
View Replies
View Related
I am creating a login logout session. At the time of logout I called session.abandon so that all the cookies will be deleted but the user is able to access previous pages through back button.
This shows that the cookies are not getting deleted still after doing session.abandon. Do any one has any solution for this? Is it possible to delete the history information through ASP-Vb script?
View Replies
View Related
I wrote global.asa file but I couldn't get what I expect.After user logs on to the system,if he/she directly closes the explorer,the time he/she logs out must be written to the database.I have logout.asp file which do this when the user click on the LOGOUT button,but if the user doesn't click it just closes the explorer what handles it??The following global.asa tries to do that but I think there is something wrong.If you examine it I would be very happy thanks...
GLOBAL.ASA
<script language=vbscript runat=server>
Sub Application_OnEnd()
session.abandon()
End Sub
Session.Timeout=1
Sub Application_OnStart()
Application("CurrentUser")=0
Application("TotalUser")=0
End Sub
Sub Session_OnEnd()
Application("CurrentUser")=Application("CurrentUser")-1
Application("TotalUser")=Application("TotalUser")-1
Set con = Server.CreateObject("ADODB.Connection")
con.Open "DSN=Address"
SQL="UPDATE tblLog SET fldTimeOut= "' & Time() & "' WHERE fldUserName= "' & Session("Admin") & "'"
con.execute(SQL)
session.abandon()
con.close
End Sub
Sub Session_OnStart()
Application("CurrentUser")=Application("CurrentUser")+1
Application("TotalUser")=Application("TotalUser")+1
End Sub
</script>
View Replies
View Related
I am a system administrator whom has been charged with the logging of user activities on my network. I want to track when a user logs into a machine, logs out of a machine or locks a system.
Is there an application out there that I can run on my server or a client based app that anyone knows of? Or do I have to make this from scratch?
View Replies
View Related
the hosting control panel gives the ability ot make a login for the directory you want to secure , but i want to make a logout for this login , how could this be done ?
View Replies
View Related
My problem is that the back button (IE) still takes me to the contents page after logout. I am a beginner, do not know much about security.
View Replies
View Related