Advertisement

01.18.2001 at 06:06PM PST, ID: 20037768
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.0

Destroy Session Variable on window closed

Asked by hongjun in ColdFusion Application Server

Tags: , , , ,

I know how to destroy session variables but am encountering some problems. Below is the description of the problem.

Description
-----------
I am trying to create a website but requires user to login if he access certain page. For simplicity sake, there are 3 links on my webpage.

Link1: Does not require login and will open the page once clicked.
Link2: Requires login.
Link3: Requires login.

This means if I click on the second link, a login page will appear. After successful login, I will then be brought to the link2 page. Since I have already logged in, a session variable defined by me will exist to indicate the user has logged in. This means if I click on the third link, I need not re-enter my login information and hence will be brought to the link3 page staight away.

Okay, now the problem arrives. I then closes all browser windows. Then I click on link2 but I am not prompted to enter my login information. This means the session variable still exist! How to detect that all browser windows are closed so that I will be able to place my code to destroy the session variable?

hongjunStart Free Trial
 
Loading Advertisement...
 
[+][-]01.18.2001 at 06:34PM PST, ID: 121193

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.18.2001 at 09:04PM PST, ID: 121330

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.19.2001 at 11:20AM PST, ID: 126994

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.19.2001 at 02:12PM PST, ID: 129055

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.19.2001 at 11:05PM PST, ID: 130366

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.20.2001 at 07:56AM PST, ID: 131062

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.21.2001 at 09:30AM PST, ID: 134939

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.21.2001 at 05:17PM PST, ID: 143734

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.21.2001 at 05:18PM PST, ID: 143755

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.01.2001 at 03:14AM PST, ID: 5801943

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: ColdFusion Application Server
Tags: session, destroy, variable, close, window
Sign Up Now!
Solution Provided By: jimmy282
Participating Experts: 3
Solution Grade: A
 
 
[+][-]02.01.2001 at 03:45AM PST, ID: 5802010

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42