Adding Logout link

Started by zubrag, June 16, 2007, 12:39:38 AM

Peter_hauritz

I have 2.0.0.9. Opened that page, logged in, closed browser. Opened page again. Login dialog appeared. Not sure why your Firefox is working differently. I'm on XP pro also. Maybe firefox cached page. Try Ctrl+F5 on that page afte you log in.

nasimuddin58

Thankssss Thankssss Thankssss Thanksssss........ :D :D :D :D

computerteacher

Hi Everyone,

I have been pulling my hair out!!!

Can I login- Yes! Can I logout- NO!!

When I click "logout" it directs me to a "general error" page that indicates that "the page you requested in unavailable." It directs me to this site: http://nspdkeasternregion.org/vault/secure_data.php?logout=1

This is what my code looks like:

(between <head> and </head> tags )
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

(2 strategic places in the script with my information)
<a href="http://www.mywebsite.info/vault/secure_data.php?logout=1" onclick="javascript:location.replace(this.href); event.returnValue=false; ">Logout</a>

and on the very first line I have the code given to secure the pages.

On my password protect document the logout redirect code is:
('LOGOUT_URL', 'http://nspdkeasternregion.org/');

I have actually tried putting www in front and get same message.


Anyone, everyone
HELPPPPPP PLEEEEAASSSEEE

Any assistance is greatly appreciated!


computerteacher


Hi Everyone,

I have been pulling my hair out!!!

Can I login- Yes! Can I logout- NO!!

When I click "logout" it directs me to a "general error" page that indicates that "the page you requested in unavailable." It directs me to this site: http://nspdkeasternregion.org/vault/secure_data.php?logout=1

This is what my code looks like:

(between <head> and </head> tags )
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

(2 strategic places in the script with my information)
<a href="http://www.mywebsite.info/vault/secure_data.php?logout=1" onclick="javascript:location.replace(this.href); event.returnValue=false; ">Logout</a>

and on the very first line I have the code given to secure the pages.

On my password protect document the logout redirect code is:
('LOGOUT_URL', 'http://nspdkeasternregion.org/');

I have actually tried putting www in front and get same message.


Anyone, everyone
HELPPPPPP PLEEEEAASSSEEE

Any assistance is greatly appreciated!



Ran

Same problem as a lot of other people have reported, and seems no one has found a remedy.  I've already been wrestling with this issue for a couple hours and my frustration level is about as high as it gets.

I got the logout working fine, and redirecting the page via changing the header, but........

the user is not really logged off!  If the user uses the "back" button, he goes back to the original page AND IS LOGGED IN!  If he was truly being logged out, then pressing the back button would take him to the Log In page.  But instead the back button bypasses the log in and password, and the "secure" page is open to public view.

Solutions anyone?????