473,396 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

LOGOUT From Application using ASP

SSG
Dear All,

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...

Jan 16 '07 #1
2 3849

"SSG" <ss****@gmail.comwrote in message
news:11**********************@a75g2000cwd.googlegr oups.com...
Dear All,

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...
You can use Session.Abandon to assist in logging out a session.

However, there is little you can do when the user clicks the back button.
Quite often the browser still has a rendered copy of the page and
re-displays it without asking the server for permission.

Jan 16 '07 #2
SSG wrote:
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...
There is no requirement that a browser refresh anything in its history.

One approach to the problem is to redirect to the protected page AT LOGOFF.
This should replace the history entry for that page, and trigger the LOGON
page. This seems to trip up the history in IE and Opera, but has no effect
on Gecko browsers.

Of course, the history belongs to the user, not to you. If you showed it to
him, then he has the right to see it again.


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Jan 16 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tuan | last post by:
Hi, I am writting a small web application and I want to create a logout page for the users like the logout on yahoo. If the users logout they cannot go back by using back button history on the...
1
by: MichaelR | last post by:
I have an asp.net application using forms authentication. 1. It has a simple login page (login.aspx) that uses FormsAuthentication.RedirectFromLoginPage(. . . ). 2. My application has a logout...
0
by: Michael Groeger | last post by:
Hi, I have implemented a simple page for FormsAuthentication and when user data is accepted I redirect the user using FormsAuthentication.RedirectFromLoginPage(). private void...
4
by: Chumma Dede | last post by:
Hi, Is there any way in asp.net 1.1 to force a user to logout from an existing session on machine1, if that same userid logs in with a new session on another machine, say machine2? We are...
2
by: AAOMTim | last post by:
I want to automatically logout if certain conditions occur in my application. Calling Session.Abandon() does not force a logout. What can I do? -- Tim
1
by: Smita Kashyap | last post by:
Hello Great Developers I am working in Asp.net 2.0. I want to know how to identify that our web application is close so that cookies get expire.Actually I want to expire cookies whenever web...
10
by: chaos | last post by:
How to do logout alert message when i press on the logout image <a href="../logout.php" target="_top" onClick="return logout()"...
1
by: shrik | last post by:
hi everybody. I have following problem. There are two pages. index.jsp and main.jsp in my application Index.jsp contains logging interface in . It submits password and userid to loginform bean. ...
3
by: kpg* | last post by:
Hi all, I want to perform the same action the the loginstatus control does to logout a user programatically, but I can't seem to find a 'logout' method in any of the membership classes. The...
5
by: vinodsk101 | last post by:
Hi all, I am developing a web application. I am using Servlet and JSP. After logout the user should not able to see the previous pages and page should navigate to loginpage.jsp. I have used...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.