RE: check for session

2003-06-09 Thread Collins, Jim
: 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,

RE: check for session

2003-06-09 Thread Brian Menke
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

RE: check for session

2003-06-09 Thread Collins, Jim
. -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

Re: check for session

2003-06-06 Thread Mark F
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

RE: check for session

2003-06-06 Thread Shapira, Yoav
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

Re: check for session

2003-06-06 Thread Mark F
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