Re: Session management

2004-02-24 Thread Adam Hardy
For the sake of a clean design, restrict your transaction management to your model layer (in MVC). That means, like Navjot says, keep it clear of your struts action classes. On 02/24/2004 10:19 AM Navjot Singh wrote: struts has nothing to do with managing sessions. we should better talk about s

RE: Session management

2004-02-24 Thread Navjot Singh
struts has nothing to do with managing sessions. we should better talk about servlet containers that handles sessions. btw, 100 sessions are nothing to worry about :-) leave the txn mgmt to db layer. use any of the persistence frameworks that can handles this for you. >-Original Message

RE: Session Validation

2004-02-15 Thread Andrew Hill
truts Users Mailing List; hhlow Subject: Re: Session Validation I'm not an expert on security but as I understand you have two choices. You can either implement "container managed security" - where the servlet container controls logging on and ensures that only authenticated users ca

Re: Session Validation

2004-02-15 Thread Niall Pemberton
I'm not an expert on security but as I understand you have two choices. You can either implement "container managed security" - where the servlet container controls logging on and ensures that only authenticated users can have access to the resources you specify OR you can control it yourself withi

RE: session timeout problem

2004-02-02 Thread Abhishek Agrawal
Just wanted to add that this is not the normal session timeout. This happens much before the actual timeout setting for the application. -Original Message- From: Abhishek Agrawal Sent: Monday, February 02, 2004 4:18 PM To: Struts Users Mailing List Subject: session timeout problem We a

RE: session timeout --> time limit

2004-01-30 Thread Paul McCulloch
It's a setting in web.xml: 10 > -Original Message- > From: Oliver Thiel [mailto:[EMAIL PROTECTED] > Sent: 30 January 2004 10:31 > To: [EMAIL PROTECTED] > Subject: session timeout --> time limit > > > Hi all, > > > where can I s

[SOLVED] RE: session timeout --> time limit

2004-01-30 Thread Oliver Thiel
> if user "bigBoss" logged in... :-) > > > cheers, > > > > -Original Message- > From: Anirudh Jayanth [mailto:[EMAIL PROTECTED] > Sent: Friday, January 30, 2004 11:48 AM > To: 'Struts Users Mailing List' > Subject: RE: ses

RE: session timeout --> time limit

2004-01-30 Thread cnd
: > > session.setMaxInactiveInterval(int interval); would this override the > session-timeout set in the web.xml for the application?? > > > -Original Message- > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] > Sent: Friday, January 30, 2004 4:04 PM > To: 'Struts U

RE: session timeout --> time limit

2004-01-30 Thread Matthias Wessendorf
rudh Jayanth [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 11:48 AM To: 'Struts Users Mailing List' Subject: RE: session timeout --> time limit session.setMaxInactiveInterval(int interval); would this override the session-timeout set in the web.xml for the application??

RE: session timeout --> time limit

2004-01-30 Thread Anirudh Jayanth
session.setMaxInactiveInterval(int interval); would this override the session-timeout set in the web.xml for the application?? -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 4:04 PM To: 'Struts Users Mailing List' S

RE: session timeout --> time limit

2004-01-30 Thread Matthias Wessendorf
session.setMaxInactiveInterval(int interval); Specifies the time, in seconds, between client requests before the servlet container will invalidate this session. A negative time indicates the session should never timeout -Original Message- From: Oliver Thiel [mailto:[EMAIL PROTECTED] Se

Re: session timeout --> time limit

2004-01-30 Thread Alvaro Martinez
You must change the file web.xml, the next line: 10 Alvaro - Original Message - From: "Oliver Thiel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 30, 2004 11:30 AM Subject: session timeout --> time limit Hi all, where can I set a time limit for

Re: session control

2004-01-29 Thread P. Hill
Manfred Wolff wrote: Vinicius. I think having objects in the session is no good solution. It might have a little bit of global variables, but thats only my 0.02$. I try to group objects into own contexts - I call it action-contexts, and allow actions only write information in these context. S

RE: Session Problem

2004-01-27 Thread McCormack, Chris
nuary 2004 18:33 To: 'Struts Users Mailing List' Subject: RE: Session Problem Initially I thought the same way, but it is happening between different Machines. Looks like this is some kind of caching problem but couldn't figure it out where. -Original Message- From: Robert N

RE: Session Problem

2004-01-26 Thread VERMA, SANJEEV (SBCSI)
ruts Users Mailing List' Subject: RE: Session Problem If there is no server activity, is it possible the page you are looking at is cached? -Rob -Original Message- From: VERMA, SANJEEV (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 12:24 PM To: [EMAIL PROTECT

RE: Session Problem

2004-01-26 Thread Robert Nocera
If there is no server activity, is it possible the page you are looking at is cached? -Rob -Original Message- From: VERMA, SANJEEV (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 12:24 PM To: [EMAIL PROTECTED] Subject: Re: Session Problem I put the topic as &qu

Re: Session Problem

2004-01-26 Thread VERMA, SANJEEV (SBCSI)
I put the topic as "Re: Session Problem" because it may be related with same problem. In my application I am using Struts 1.1 and WebSphere 5.0. First time when I login into the application it works fine. The problem starts after that, when I open a new browser not by Ctrl+N or

Re: session control

2004-01-26 Thread Manfred Wolff
Vinicius. I think having objects in the session is no good solution. It might have a little bit of global variables, but thats only my 0.02$. I try to group objects into own contexts - I call it action-contexts, and allow actions only write information in these context. So you have better cont

Re: Session Problem

2004-01-22 Thread John D. Hume
nded like a useful way of demoing multiple users accessing the system from a single machine. Paul -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: 23 December 2004 06:43 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Session Problem Better late

RE: Session Problem

2004-01-22 Thread Paul McCulloch
PROTECTED] > Sent: 23 December 2004 06:43 > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: RE: Session Problem > > > Better late than never (hot cpu chip literally fried a > motherboard) ... > > Quoting Andrew Hill <[EMAIL PROTECTED]>: > >

RE: Session Problem

2004-01-21 Thread Craig R. McClanahan
Better late than never (hot cpu chip literally fried a motherboard) ... Quoting Andrew Hill <[EMAIL PROTECTED]>: > > How do I make sure the session on both the browsers will be different other > than URL Rewriting. > > For Netscape (and I presume Mozilla but haven't checked), I don't believe

RE: Session Problem

2004-01-16 Thread Edgar P Dollin
Meyer [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 7:19 AM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE: Session Problem I had a similar problem. I have two browsers opened with diferent sessions (and logged on with different users to my app) in the same machi

RE: Session Problem

2004-01-16 Thread Guillermo Meyer
ndrew Hill [mailto:[EMAIL PROTECTED] Sent: Viernes, 16 de Enero de 2004 08:38 a.m. To: Struts Subject: RE: Session Problem How do I make sure the session on both the browsers will be different other than URL Rewriting. This I do not know. :-( You can take a look through all the browser options a

RE: Session Problem

2004-01-16 Thread Andrew Hill
- From: Parag Pattewar [mailto:[EMAIL PROTECTED] Sent: Friday, 16 January 2004 19:31 To: [EMAIL PROTECTED] Subject: RE: Session Problem Hi I tried to use URL rewriting explicetly for session tracking, unfortunately I wont be able to use this because Its not been guaranteed in the code is been

RE: Session Problem

2004-01-16 Thread Andrew Hill
On the same machine? Rather sounds like its the same session. Im not sure about IE6, but as I recall, IE5 will share its cookies between the various windows if cookies are enabled. If cookies are disabled then url writing takes over (asuming youve made sure your links are re-written by using the ap

Re: session taglib

2003-12-06 Thread Suneel Kumar Kollukuduru
struts wrote: In the Jsp i have: witch prints the username. Now i want something like: <% String username= ; %> but that doesn't work. How can i assign the session variable to the String username ? Thanks ! - To

Re: session taglib

2003-12-05 Thread James Mitchell
On Fri, 5 Dec 2003, Oron Gill Haus wrote: > James, > > Isn't there a drive to move to JSTL vs. the Struts tag library? I'm > curious as we've been pushing JSTL for this reason (though it rather > flexible). Yes, you are absolutely correct. Use c:set if you can (given the min spec requ). Have a

Re: session taglib

2003-12-05 Thread Oron Gill Haus
James, Isn't there a drive to move to JSTL vs. the Struts tag library? I'm curious as we've been pushing JSTL for this reason (though it rather flexible). Thank you. --- James Mitchell <[EMAIL PROTECTED]> wrote: > On Fri, 5 Dec 2003, struts wrote: > > > In the Jsp i have: > > > > > > > > witc

Re: session taglib

2003-12-05 Thread James Mitchell
On Fri, 5 Dec 2003, struts wrote: > In the Jsp i have: > > > > witch prints the username. Now i want something like: > > <% > > String username= ; > > %> > > but that doesn't work. How can i assign the session variable to the String username ? A scriptlet-free way to do this: > > Thanks !

Re: session taglib

2003-12-05 Thread Scott Reisdorf
You are using a Tag Lib within a Scriptlet. You can assign the variable using the scriplet by the following: <% String username = (String) session.getAttribute("userName"); %> hope that helps. -scott At 02:40 PM 12/5/2003 +0100, you wrote: In the Jsp i have: witch prints the username. Now i want

Re: session taglib

2003-12-05 Thread Gurpreet Dhanoa
MAIL PROTECTED]> Sent: Friday, December 05, 2003 7:13 PM Subject: Re: session taglib > Try something like > String username = session.getAttribute("username"); > or > String username = request.getSession(à.getAttribute("username"); > > > struts

Re: session taglib

2003-12-05 Thread Oron Gill Haus
You can use JSTL to accomplish this using the: You can also specify the scope within the value expression. This is if you wish to use JSTL. Only a suggestion. Hope it helps you out! --- struts <[EMAIL PROTECTED]> wrote: > In the Jsp i have: > > > > witch prints the username. Now i want so

Re: session taglib

2003-12-05 Thread John Ferguson Smart
Try something like String username = session.getAttribute("username"); or String username = request.getSession(à.getAttribute("username"); struts wrote: In the Jsp i have: witch prints the username. Now i want something like: <% String username= ; %> but that doesn't work. How can i a

Re: Session Scope ActionForm, ActionErrors and the Back Button

2003-12-02 Thread news.basebeans.com
Note that when you hit the Back button on a page not cached and retrieved by a GET, the browser will perform a new request... If the page was retrieved by a POST, the browser will display an error message or ask the user if he wants to repost the form. "Hookom, Jacob" <[EMAIL PROTECTED]> wrote in

RE: Session Scope ActionForm, ActionErrors and the Back Button

2003-12-02 Thread Fullam, Jonathan
John, ActionErrors is stored under the key: Globals.ERROR_KEY. You can implement your ActionForm reset (which is called on all ActionForm objects on every request) method to remove the ActionErrors found under this key from your Request or Session. Jonathan -Original Message- From: John

RE: Session Scope ActionForm, ActionErrors and the Back Button

2003-12-02 Thread Hookom, Jacob
On the controller element in the struts config, set the "nocache" attribute to true. We just did this for our current project and it has fixed a lot of issues with our wizard-type flows where we use a SessionBean to dictate flow. The other option is to manually write the pragma/expire headers on

RE: Session handling through Request Processsor

2003-11-05 Thread David Friedman
Sam, I check my session in an extention class of RequestProcessor under processRoles. If the session isn't valid, I do the following (which might work in other RequestProcessor methods): // Retain the http or https used in this call using getScheme() String redirect = (String) request.ge

RE: session time-out in pop-up windows

2003-11-03 Thread David Friedman
Why not call request.isRequestedSessionIdValid() to find out if the session timed out? Or, try something inside struts such as request.getSession().isNew() to see if the session didn't exist before the call, then see if the session Id came from a cookie or embedded in the URL: 1) request.isReques

Re: session time-out in pop-up windows

2003-11-03 Thread Rajat Pandit
3 14:50 To: Struts Users Mailing List Subject: Re: session time-out in pop-up windows Another way might be: 1. user clicks link for pop-up window, window pops-up and initiates the web request 2. Filter intercepts the request and senses that the session has timed out 3. Before redirecting, filter recognize

RE: session time-out in pop-up windows

2003-11-03 Thread Hubert Rabago
equest here is a popup!" > When it does, then you can redirect the popup to a different page which > does nothing but send the parent to a different url and close itself. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Mond

Re: session time-out in pop-up windows

2003-11-03 Thread Rick Reumann
Rabago, Hubert wrote: You'd have to find a way to identify the popup. It could be because of the requested resource ("myPopup" or any page with "popup") or a special request parameter which will only be sent by a request for a popup window ("href='/mycontext/myinfodisplay.do?myActualParam=1&isPop

RE: session time-out in pop-up windows

2003-11-03 Thread Rabago, Hubert
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 9:10 AM To: [EMAIL PROTECTED] Subject: RE: session time-out in pop-up windows Hubert Thanks for this. But how would filter recognise that the request was sent by a popup? As I understand, the pr

RE: session time-out in pop-up windows

2003-11-03 Thread chinmay . r . parikh
t; is true display url page else display error page. So I am not sure, how Step 3 and then 4 could be implemented. -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: 03 November 2003 14:50 To: Struts Users Mailing List Subject: Re: session time-out in pop-up windows A

Re: session time-out in pop-up windows

2003-11-03 Thread Hubert Rabago
Another way might be: 1. user clicks link for pop-up window, window pops-up and initiates the web request 2. Filter intercepts the request and senses that the session has timed out 3. Before redirecting, filter recognizes that the request was sent by a popup, and instead redirects to a different po

RE: Session Times Out

2003-11-03 Thread Vara Prasad Reddy
Hello everybody: How best is i18N taglib useful, along with struts 1.1 - Vara Prasad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Session Times Out

2003-11-03 Thread Paul McCulloch
ject: RE: Session Times Out I think best way to check session is to extend requestProcessor Class and override processPath method, -Original Message- From: Jose Ramon Diaz [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 12:06 PM To: 'Struts Users Mailing List' Subjec

RE: Session Times Out

2003-11-03 Thread Andrew Hill
Or even better, use a filter (which requires Servlet API 2.3 or greater) -Original Message- From: Seyhan BASMACI (Internet Yazilimlari Yetkilisi) [mailto:[EMAIL PROTECTED] Sent: Monday, 3 November 2003 18:20 To: Struts Users Mailing List Subject: RE: Session Times Out I think best way

RE: Session Times Out

2003-11-03 Thread MBrewer
Struts Users Mailing List'" <[EMAIL PROTECTED]> | | cc:

RE: Session Times Out

2003-11-03 Thread Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
I think best way to check session is to extend requestProcessor Class and override processPath method, -Original Message- From: Jose Ramon Diaz [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 12:06 PM To: 'Struts Users Mailing List' Subject: RE: Session Times Out

Re: Session Times Out

2003-11-03 Thread Vinayak Birari
hi, you can inform the user by using the request object bind ur message by : request.setAttribute("messageName", "session timed out!!"); retrieve the message by : request.getAttribute("messageName"); hope this helps u. regards, Vinayak. - Original Message - From: "Caroline Jen" <[EMAIL P

RE: Session Times Out

2003-11-03 Thread Jose Ramon Diaz
Hi, But be carefull because the actions will be executed before redirecting to JSP, so I think it?s better to check the session in all the actions, isn?t it? > > Make a custom tag like so : > > > > Create a tld file with this in it : > > > Tag Library > 1.1//EN" "http://java.sun.com/j2ee/dtd

Re: Session Times Out

2003-11-03 Thread MBrewer
Make a custom tag like so : Create a tld file with this in it : http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd";> 1.0 1.1 Tag Libs ustom Tags checkLogin com.cpaglobal.cpadirect.tag.CheckLogin empty C

RE: Session Times Out

2003-11-03 Thread Sreedhar Velagapudi
test

RE: Session Times Out

2003-11-03 Thread Amit Kumar Sharma
if session becomes null than try this if ( session.getValue("SESSIONNAME")==null ){%> window.open("Index.jsp",fullscreen="yes"); parent.close(); //winself = window.self; //winself.setTi

RE: Session Times Out

2003-11-03 Thread Amit Kumar Sharma
if session becomes null than try this if ( session.getValue("SESSIONNAME")==null ){%> window.open("Index.jsp",fullscreen="yes"); parent.close(); //winself = window.self; //winself.setTi

RE: Session Timeout on post

2003-10-29 Thread Edgar P Dollin
Strictly a container issue. If you keep the login information in hidden fields, you will be able to reinstate the user session although the session information will be gone. You should be able to post the submited record however. You can use a filter for this. Edgar > -Original Message-

RE: Session-scoped form and synchronization...

2003-10-27 Thread Andrew Hill
Tuesday, 28 October 2003 03:57 To: Struts Users Mailing List Subject: Re: Session-scoped form and synchronization... Peter Abbot wrote: >Generally if you are using a browser based interface to execute a >servlet requests (except if using frames) the user can only send one >request at a ti

OT: Re: Session-scoped form and synchronization...

2003-10-27 Thread Vic Cekvenich
Geeta Ramani wrote: at we at least "disabled" one of our testers from being too click-happy..;) I hear that. -- Victor Cekvenich, Struts Instructor (215) 321-9146 Advanced Struts Training Server Side Java training with Rich UI, mentoring, designs

Re: Session-scoped form and synchronization...

2003-10-27 Thread Geeta Ramani
"Craig R. McClanahan" wrote: > > Unfortunately, having frames is *not* the only scenario where you have > to worry about multiple simultaneous requests. Two simple additional ones: > > * Your app contains tags that point back into your app > (dynamically generated images, > for example). > > *

Re: Session-scoped form and synchronization...

2003-10-27 Thread Craig R. McClanahan
cally generated images, for example). * User starts a long request, presses stop, starts a second request. Pete Craig -Original Message- From: Manish Singla [mailto:[EMAIL PROTECTED] Sent: Tuesday, 28 October 2003 8:25 a.m. To: Struts Users Mailing List Subject: Re: Session-scoped for

Re: Session-scoped form and synchronization...

2003-10-27 Thread Craig R. McClanahan
Bob Lee wrote: I assume this is a bug then, because there's no way for me to do this. It has to be done within Struts. It depends on what precisely you think needs to be synchronized: * Adding attributes to the session, or removing them from the session: The servlet container takes care of tha

RE: Session-scoped form and synchronization...

2003-10-27 Thread Peter Abbot
f the previous request that might still be using the form. Pete -Original Message- From: Manish Singla [mailto:[EMAIL PROTECTED] Sent: Tuesday, 28 October 2003 8:25 a.m. To: Struts Users Mailing List Subject: Re: Session-scoped form and synchronization... hmmm. may be this not an bug

Re: Session-scoped form and synchronization...

2003-10-27 Thread Manish Singla
hmmm. may be this not an bug...as struts ActionServlet extends Java Servlets . And Java Servlet is not not thread safe FYI: same goes for application attributes.. Bob Lee wrote: I assume this is a bug then, because there's no way for me to do this. It has to be done within Struts

Re: Session-scoped form and synchronization...

2003-10-27 Thread Bob Lee
I assume this is a bug then, because there's no way for me to do this. It has to be done within Struts. Bob Kris Schneider wrote: Nope, don't think so. Quoting Bob Lee <[EMAIL PROTECTED]>: Does Struts synchronize on session-scoped forms? For example, can I assume that Stuts won't modify t

Re: Session-scoped form and synchronization...

2003-10-27 Thread Kris Schneider
Nope, don't think so. Quoting Bob Lee <[EMAIL PROTECTED]>: > Does Struts synchronize on session-scoped forms? For example, can I > assume that Stuts won't modify the fields on a session-scoped form in > response to one request while an action is still using it? > > Thanks, > Bob -- Kris Schn

Re: Session Tracking in Struts

2003-09-15 Thread Firat TIRYAKI
Then set it inyour action that refers to the second jsp page by request.setAttribute... F. - Original Message - From: "Naveen Mudgal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 15, 2003 2:33 PM Subject: Session Tracking in Struts > I am making a simple JSp whic

RE: Session Sharing Feasibility

2003-09-12 Thread Hue Holleran
Hi Mitesh, It will depend on several factors - if all you wish is for the cookie to also be sent to struts then this will automatically be done by the browser if the DOMAIN and PATH properties of the cookie are compatible - i.e. will allow the cookie to be passed to the struts application, e.g. if

RE: Session expired

2003-08-20 Thread Craig R. McClanahan
On Wed, 20 Aug 2003, Viral_Thakkar wrote: > Date: Wed, 20 Aug 2003 17:19:28 +0530 > From: Viral_Thakkar <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: Session expire

RE: Session expired

2003-08-20 Thread Viral_Thakkar
- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 9:29 PM To: Struts Users Mailing List Subject: RE: Session expired On Tue, 19 Aug 2003, Filip Polsakiewicz wrote: > Date: Tue, 19 Aug 2003 14:12:40 +0200 > From: Filip Polsakiewicz <[EMAIL PROTECTED]>

RE: Session expired

2003-08-19 Thread Craig R. McClanahan
On Tue, 19 Aug 2003, Filip Polsakiewicz wrote: > Date: Tue, 19 Aug 2003 14:12:40 +0200 > From: Filip Polsakiewicz <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE:

Re: Session expired

2003-08-19 Thread Sasha Borodin
]> wrote: > Sloan, > > Can you provide example code from > com.symbol.mc.oms.servlet.SessionFilter > Or is that asking too much ?? > > TIA, > Mike > > - Original Message - > From: "Sloan Seaman" <[EMAIL PROTECTED]> > To: "Struts

Re: Session expired

2003-08-19 Thread Sloan Seaman
Deegan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, August 19, 2003 3:43 PM Subject: Re: Session expired > Sloan, > > Can you provide example code from > com.symbol.mc.oms.servlet.SessionFilter > Or is that ask

Re: Session expired

2003-08-19 Thread Adam Levine
false) ) {[redirect to login/root/expired page] } } From: "Mike Deegan" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Session expired Date: Tue, 19 Aug 200

Re: Session expired

2003-08-19 Thread Yann Cébron
With Struts 1.1 you can also write your own RequestProcessor and overwrite the desired processXYZ()-methods to perform checks like these before executing anything further (e.g. before showing the JSP, before populating a Form etc.). I've successfully used processPreprocess() to check whether a ses

Re: Session expired

2003-08-19 Thread Mike Deegan
ithin the /app dir goes through the filter first... > > - Original Message - > From: "Filip Polsakiewicz" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Tuesday, August 19, 2003 8:12 AM > Subject:

Re: Session expired

2003-08-19 Thread Sloan Seaman
t; <[EMAIL PROTECTED]> Sent: Tuesday, August 19, 2003 8:12 AM Subject: RE: Session expired > My problem is, that I already have something around 60 jsps. Now it would be > nice to have a workaround so that i don't have to adapt all my jsps and > actions. > > > -

RE: Session expired

2003-08-19 Thread David Graham
rms this check. If all your actions extend this one, you don't have to change very much code. David > > > -Original Message- > > From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, August 19, 2003 12:58 PM > > To: Struts Users Mailing List &

RE: Session expired

2003-08-19 Thread Filip Polsakiewicz
To: Struts Users Mailing List > Subject: Re: Session expired > > > What if you check from your action before redirecting to a jsp ? > > > Filip Polsakiewicz wrote: > > >Hi, > >is there any way to redirect y user to a jsp if the session is expired > >wit

RE: Session expired

2003-08-19 Thread Navjot Singh
:[EMAIL PROTECTED] |Sent: Tuesday, August 19, 2003 4:28 PM |To: Struts Users Mailing List |Subject: Re: Session expired | | |What if you check from your action before redirecting to a jsp ? | | |Filip Polsakiewicz wrote: | |>Hi, |>is there any way to redirect y user to a jsp if the session is e

Re: Session expired

2003-08-19 Thread Kwok Peng Tuck
What if you check from your action before redirecting to a jsp ? Filip Polsakiewicz wrote: Hi, is there any way to redirect y user to a jsp if the session is expired without checking for an expired session within each single jsp? Thanks, Filip -

Re: Session expired

2003-08-19 Thread Riaan Oberholzer
Use a realm. --- Filip Polsakiewicz <[EMAIL PROTECTED]> wrote: > Hi, > is there any way to redirect y user to a jsp if the > session is expired > without checking for an expired session within each > single jsp? > > Thanks, Filip > > > > >

RE: Session Scope inside Filter

2003-08-18 Thread Viral_Thakkar
Thanks Craig. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 9:22 PM To: Struts Users Mailing List Subject: Re: Session Scope inside Filter On Mon, 18 Aug 2003, Viral_Thakkar wrote: > Date: Mon, 18 Aug 2003 16:03:22 +0530 >

Re: Session Scope inside Filter

2003-08-18 Thread Craig R. McClanahan
On Mon, 18 Aug 2003, Viral_Thakkar wrote: > Date: Mon, 18 Aug 2003 16:03:22 +0530 > From: Viral_Thakkar <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Session Scope inside Filter > > Is session available

RE: Session issue

2003-07-31 Thread Bailey, Shane C.
I solved the problem... Dev and Prod should have the same environment :-) Looks like the URL you are trying to rewrite is null. Just a guess. -Original Message- From: Peter Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 2:04 PM To: Struts Users Mailing List Subject: S

Re: Session management

2003-07-22 Thread Erik Price
Jason Meredith wrote: Chaps I am sure this question has been asked before, if it has please point me in the right direction (URL - example) A user log's into a web site, once the user has been authenticated, a session is created , there are many different actions that a user can perform, and it

Re: Session management

2003-07-22 Thread Max Cooper
Jason, Authentication and session creation are mostly independent -- you can have a user with a session that has not been authenticated. I think a user will always have a session once they have been authenticated, however. I am not sure I understand quite what you are asking, but you can certainl

RE: Session management

2003-07-22 Thread Navjot Singh
|What do I do for those pages that do not have actions, pages that have |global forwards for example (org.apache.struts.actions.ForwardAction), |things like legal pages, site maps, and so on? I don't want to create an |action just to display a simple JSP/HTML page, that's why I used a forward. | t

Re: Session ID always being appended even with cookies enabled?

2003-07-08 Thread JavaXML Developer
What you are seeing is "jsesssionid". The jsessionid is a key maintained by the container to track the user session via HTTP. Including the session key in the hyperlink is called URL rewriting. The Servlet Specification encourages the use of cookies to maintain the session. When that is not poss

RE: Session Question

2003-07-04 Thread Andrew Hill
Hmmm. Somebody hasnt been paying attention to the list today... ;-) Here is what Craig had to say about it just a few hours ago: (Today must be "ask about single sign on" day, since this has already come up on earlier discussions :-) Single Sign On support for Struts-based apps is no different

Re: Session ID always being appended even with cookies enabled?

2003-07-02 Thread Craig R. McClanahan
On Wed, 2 Jul 2003, David Erickson wrote: > Date: Wed, 2 Jul 2003 11:07:52 -0600 > From: David Erickson <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Mailing List <[EMAIL PROTECTED]> > Subject: Session ID always being appended even with cookies enabled?

Re: Session beans

2003-06-09 Thread Erik Price
Kamholz, Keith (corp-staff) USX wrote: What package is HttpSession in? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Session beans

2003-06-09 Thread Bailey, Shane C.
http://java.sun.com/products/servlet/2.1/api/javax.servlet.http.HttpSession. html -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:25 PM To: 'Struts Users Mailing List' Subject: RE: Session beans What package is H

RE: Session beans

2003-06-09 Thread Kamholz, Keith (corp-staff) USX
What package is HttpSession in? Keith Kamholz Programming and Architecture Moog Inc. Phone: (716) 687-7001 -Original Message- From: Josh McCulloch [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 1:31 PM To: Struts Users Mailing List Subject: Re: Session beans Try something

Re: Session beans

2003-06-09 Thread Josh McCulloch
Try something like this: HttpSession session = request.getSession(); Enumeration names = session.getAttributeNames(); while(names.hasMoreElements()) { String key = (String)names.nextElement(); session.removeAttribute(key); } [EMAIL PROTECTED] wrote: Hey everyone, I'm aware of the issues wit

Re: Session

2003-06-06 Thread Mark Lowe
In the refering action that puts your object in the session, populate the form.. ActionForm theForm = (ActionForm) form; Object yourObj = ... String fooStr = yourObj.getSomething(); //for dynaforms theForm.set("foo",fooStr); or //the method in your action form. theForm.setFoo(fooStr); //jsp

Re: Session

2003-06-06 Thread Dirk Markert
Hallo Nadja, see comments below. *** NS> Hello, NS> I have a more Java than Struts related question but maybe you could answer NS> it as well? Okay, so I use a link to get to a form. In the ActionForward NS> that gets executed when the

RE: session

2003-05-27 Thread Steve Raeburn
Just use request.getSession(). The session is not specific to a servlet but to the user. Each time they send a request to the server their session id is sent in the request (via a cookie or url rewriting). You can retrieve the session in any servlet using request.getSession() Steve > -Origin

RE: Session bean lifecycle.......

2003-04-02 Thread Ritesh Singhal
Yes, u r right. U can do all the things u mentioned in ur mail. Regards Ritesh -Original Message- From: Al Willingham [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 9:05 AM To: [EMAIL PROTECTED] Subject: Session bean lifecycle... Hi, Is is true that a session bean gets c

Re: Session Load Balancing Problem

2003-04-02 Thread Max Cooper
Do you have the cluster setup to replicate the sessions? If so and it still isn't working correctly, write something that checks everything in your session to see if it is Serializable. You can use a simple JSP for the session check thing and just load it to make sure everything is serializable, or

Re: Session bean behavior when user creates new browserwindow......

2003-03-31 Thread Al Willingham
It seems like that requires coordination between the DAO and bean. Every time the bean changes, you coordinate with the DAO??? I'm thinking that the session bean captures data until an appropriate moment, then commits to the database through the DAO. Saves expensive trips to the DB. Maybe an ex

  1   2   3   4   >