what to
write inside element in web.xml
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 6:40 PM
To: Tomcat Users List
Subject: Re: how to persist a session
That's true and I've restled with the javascript or no javascript
question my
sday, May 25, 2006 3:09 PM
Subject: Re: how to persist a session
That's true and I've restled with the javascript or no javascript
question myself a few times. I think with all the AJAX and web 2.0
stuff out there, it's getting so those cases are fewer and fewer.
--David
Peter C
Vikas Jain wrote:
> Hi,
>
> I am using java server faces. My web server is Tomcat5.0.
>
> I want to persist my session that is the session should continue until user
> logs out. I don't want to do this task through
> 0
>
>
>
> in web.xml.
>
>
>
> Any help will be highly appreciated...
A
That's true and I've restled with the javascript or no javascript
question myself a few times. I think with all the AJAX and web 2.0
stuff out there, it's getting so those cases are fewer and fewer.
--David
Peter Crowther wrote:
>>From: David Smith [mailto:[EMAIL PROTECTED]
>>Option 3: Use a b
Users List
Subject: Re: how to persist a session
I'm pretty new in web design, but why can't you use cookies to
do what you want?
Will that work??
On 5/25/06, Peter Crowther <[EMAIL PROTECTED]> wrote:
>
> > From: Vikas Jain [mailto:[EMAIL PROTECTED]
> > I want to
Vikas Jain wrote:
I am using java server faces. My web server is Tomcat5.0.
I want to persist my session that is the session should continue until user
logs out.
Use HttpSessionActivationListener
http://www.docjar.com/docs/api/javax/servlet/http/HttpSessionActivationListener.html
--
Mikolaj
> From: David Smith [mailto:[EMAIL PROTECTED]
> Option 3: Use a bit of javascript to refresh a small, invisible gif
> image on a timed basis.
Very good point. I'm too used to advising on accessible design, where
the browsers may not run Javascript :-).
- Peter
-
> From: Lung Chan [mailto:[EMAIL PROTECTED]
> I'm pretty new in web design, but why can't you use cookies to
> do what you want?
If you do, you have two approaches:
- Store all the session data in the cookie, and pass that back and forth
on each request and response. This eliminates the need to
Because tomcat's sessions will timeout if left unattended long enough
regardless of expiration date/time on a cookie.
--David
Lung Chan wrote:
> I'm pretty new in web design, but why can't you use cookies to
> do what you want?
>
> Will that work??
>
>
> On 5/25/06, Peter Crowther <[EMAIL PROTEC
Option 3: Use a bit of javascript to refresh a small, invisible gif
image on a timed basis. The session timeout can be short and the
session will stay around as long as the browser windows is open or until
the user clicks a logout link.
--David
Peter Crowther wrote:
>>From: Vikas Jain [mailto:[
I'm pretty new in web design, but why can't you use cookies to
do what you want?
Will that work??
On 5/25/06, Peter Crowther <[EMAIL PROTECTED]> wrote:
> From: Vikas Jain [mailto:[EMAIL PROTECTED]
> I want to persist my session that is the session should
> continue until user
> logs out. I do
> From: Vikas Jain [mailto:[EMAIL PROTECTED]
> I want to persist my session that is the session should
> continue until user
> logs out. I don't want to do this task through
> 0
>
>
>
> in web.xml.
You have no way of telling when a user closes a browser onto your
application. Given that, an
Hi,
I am using java server faces. My web server is Tomcat5.0.
I want to persist my session that is the session should continue until user
logs out. I don't want to do this task through
0
in web.xml.
Any help will be highly appreciated...
With Thanks And Regards
Vikas Jain
--
13 matches
Mail list logo