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:
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?
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
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.
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.
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?
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 ?
I am using a session variable to prevent users from accessing a certain page until they have logged in. The page which is protected has an include file at the top of it which checks the value of the session variable that was set when they logged in. if it is not correct i redirect them back to the login page.
the session variable does not seem to get set the first time and the user is asked to re-login. Subsequent login attempts are successful and they can proceed to the desired part of my site. why is the session variable not being set and read on the first login attempt? Is there something wrong with redirects and sessions?
We are planning to set-up a load balanced web environment. Accordingly, we are going to change the session management on our website from the classic ASP Session State and session variables, to a database method.
Does any one have any pointers as to how I might approach this, so that I can have the same sort of functionality the ASP sessions give without having to create database columns for each session variable I wish to create. I am thinking along the lines of some serialised dictionary or something that I can stick in a blob column.
I am building a website to pull data from a remote https site using xmlhttp. The data from the https site is behind a login screen. I can successfully get through the login screen with:
That works great - but then, when I try to go to the next page (where the data is that I want to pull) - I use the same process and I get kicked back out to the login screen? Could there be some cookies, referer, strings being passed normally that I am not including in my second request - How do i find out for sure?
I have used the software IETrace and it looks like some cookies being passed, but how do I know for sure if (and what exactly) it is using?
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
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 %>
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 ?
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:
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?
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?
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.
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!
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.
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.
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.
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.
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?
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.
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?