: RE: check for session
Hey Jim, I saw this and it intrigued me. Documentum is a document management
system. I'm curious about how you are using struts with it?? Do you mind
sharing briefly?
-Brian
-Original Message-
From: Collins, Jim [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09,
x27;Tomcat Users List'
Subject: RE: check for session
Hi Mark,
I use Documentum and struts and had something similar to what you now have
with a Filter determining if a user has a dmSession. I found however that on
a number of occasions when the filter was checking for dmSession it was
retur
.
-Original Message-
From: Mark F [mailto:[EMAIL PROTECTED]
Sent: 06 June 2003 19:42
To: Tomcat Users List
Subject: Re: check for session
Thanks, worked like a charm, never used that before, very nice. The
filtering mechanism though makes me wish I'd set up the app directory
stru
Thanks, worked like a charm, never used that before, very nice. The
filtering mechanism though makes me wish I'd set up the app directory
structure differently but you know hindsight 20/20 and all that...
-Mark
Shapira, Yoav wrote:
| Howdy,
| Consider using a Filter as follows:
|
| public void
Howdy,
Consider using a Filter as follows:
public void doFilter(...) {
if(request instanceof HttpServletRequest) {
HttpSession theSession = ((HttpServletRequest)
request).getSession();
if(theSession.getAttribute("dmSession") == null) {
// Redirect to login page, print out error me
Also, I should have mentioned I'm using struts with tiles.
Thanks,
-Mark
Mark F wrote:
| We use a content management system (documentum) it operates much like
| a database as far as authentication. I save a documentum session
| object into my httpSession as "dmSession" upon successful logon. I