Re: [Dspace-tech] Logout problem on Dspace 1.4.2

2009-02-22 Thread Vishal Kakapuri
This method in org.dspace.app.webui.util.Authentocate.java is responsible
for logging out the user:
/**
 * Log the user out
 *
 * @param context
 *DSpace context
 * @param request
 *HTTP request
 */
public static void loggedOut(Context context, HttpServletRequest
request)
{
HttpSession session = request.getSession();

context.setCurrentUser(null);
request.removeAttribute(dspace.current.user);
session.removeAttribute(dspace.current.user.id);
}
You may want to add a session.invalidate() also, after calling
session.removeAttribute(dspace.current.user.id);.

-VK

On 2/19/09, Van der Westhuizen, Ansie watki...@unisa.ac.za wrote:

 This message (and attachments) is subject to restrictions and a disclaimer.
 Please refer to http://www.unisa.ac.za/disclaimer for full details.
 --

  Dear all



 We are working on DSpace 1.4.2  and are experiencing problems with logging
 out from MyDSpace. Although the system indicates that a user is logged out
 it doesn't seem to really log one out. If another person logs in on the same
 PC, the previous user's user id still displays on some of the screens.



 Is anyone else out there having a similar problem and could you help us
 with a solution please?



 Thank you







 *Ansie van der Westhuizen*

 Non-commercial Digital Developer

 IR Content Management: Collection Development

 Unisa Library

 PO Box 392

 Unisa

 0003

 Phone: +27 12 429 3426

 Fax: +27 12 429 2925

 [image: unisargb(hires)_s]






 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
 CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the
 Enterprise
 -Strategies to boost innovation and cut costs with open source
 participation
 -Receive a $600 discount off the registration fee with the source code:
 SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


image001.gif--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Logout problem on Dspace 1.4.2

2009-02-19 Thread Van der Westhuizen, Ansie
This message (and attachments) is subject to restrictions and a disclaimer. 
Please refer to http://www.unisa.ac.za/disclaimer for full details.


Dear all

We are working on DSpace 1.4.2  and are experiencing problems with logging out 
from MyDSpace. Although the system indicates that a user is logged out it 
doesn't seem to really log one out. If another person logs in on the same PC, 
the previous user's user id still displays on some of the screens.

Is anyone else out there having a similar problem and could you help us with a 
solution please?

Thank you



Ansie van der Westhuizen
Non-commercial Digital Developer
IR Content Management: Collection Development
Unisa Library
PO Box 392
Unisa
0003
Phone: +27 12 429 3426
Fax: +27 12 429 2925
[cid:image001.gif@01C99280.43A97CE0]


inline: image001.gif--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Logout problem on Dspace 1.4.2

2009-02-19 Thread Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]
Seems I have had the same problem before.  Try reloading your page and
see if you are actually logged out.  I see a different version of this
problem.  When I sign in as administrator and click on Communities and
Collections, then navigate to an Item page, there is initially no Edit
item box in the upper-right hand corner.  If I reload the page, the
Edit item box appears.  This problems occurs in 1.5.1 as well as
1.4.2.

Sue

 

Sue Walker-Thornton

ConITS Contract
NASA Langley Research Center
//Integrated Library Systems Application  Database Administrator

130 Research Drive

Hampton, VA  23666

Office: (757) 224-4074
Fax:(757) 224-4001
Pager: (757) 988-2547 
Email:  susan.m.thorn...@nasa.gov mailto:susan.m.thorn...@nasa.gov 

 

 

 



From: Van der Westhuizen, Ansie [mailto:watki...@unisa.ac.za] 
Sent: Thursday, February 19, 2009 3:53 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Logout problem on Dspace 1.4.2

 

This message (and attachments) is subject to restrictions and a
disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full
details.



 

Dear all

 

We are working on DSpace 1.4.2  and are experiencing problems with
logging out from MyDSpace. Although the system indicates that a user is
logged out it doesn't seem to really log one out. If another person
logs in on the same PC, the previous user's user id still displays on
some of the screens. 

 

Is anyone else out there having a similar problem and could you help us
with a solution please?

 

Thank you

 

 

 

Ansie van der Westhuizen

Non-commercial Digital Developer

IR Content Management: Collection Development

Unisa Library

PO Box 392

Unisa 

0003

Phone: +27 12 429 3426

Fax: +27 12 429 2925

 

 

 

image001.gif--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Logout problem on Dspace 1.4.2

2009-02-19 Thread Allen Lam
We have similar problem in our dspace system. It is caused by browser's 
cache of session data. The only solution is asking users to close the 
browser completely after logoff.

I am also interested to know any better way to kill the session.

Regards,
Allen Lam.
HKU Hub Administrator, http://hub.hku.hk


Van der Westhuizen, Ansie wrote:
 This message (and attachments) is subject to restrictions and a 
 disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full 
 details.
 
 
 Dear all
 
  
 
 We are working on DSpace 1.4.2  and are experiencing problems with 
 logging out from MyDSpace. Although the system indicates that a user is 
 “logged out” it doesn’t seem to really log one out. If another person 
 logs in on the same PC, the previous user’s user id still displays on 
 some of the screens.
 
  
 
 Is anyone else out there having a similar problem and could you help us 
 with a solution please?
 
  
 
 Thank you
 
  
 
  
 
  
 
 *Ansie van der Westhuizen*
 
 Non-commercial Digital Developer
 
 IR Content Management: Collection Development
 
 Unisa Library
 
 PO Box 392
 
 Unisa
 
 0003
 
 Phone: +27 12 429 3426
 
 Fax: +27 12 429 2925
 
 unisargb(hires)_s
 
  
 
  
 
 
 
 
 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 
 
 
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech