Huang [SMTP:[EMAIL PROTECTED]]
Sent: Friday, March 03, 2000 6:33 AM
To: [EMAIL PROTECTED]
Subject:Re: problem with sessions and jsp
Does anybody know what is lifetime for the session object? In ASP, by
default it's 20 minutes. How much is it in JSP?
Thanks,
Dennis
-Ori
30 minutes i believe according to the api, but it may differ from server to
server..
>From: Dennis Huang <[EMAIL PROTECTED]>
>Reply-To: Dennis Huang <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: problem with sessions and jsp
>Date: Fri, 3 Mar 2000 12:02:40
with sessions and jsp
i am creating a web app that uses a servlet to login and then passes the
user along to an initial jsp and several sub-jsps below that. once i
authenticate the user in the servlet i store their info (userid, logintime)
in the session object because i want to display that on al
it in milliseconds, causing me several days of grief.
thanks for yor help..it is much appreciated.
>From: "Mike McKechnie" <[EMAIL PROTECTED]>
>To: "Bradley McLain" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>Subject: Re: problem with session
y, February 27, 2000 2:42 PM
> To: [EMAIL PROTECTED]
> Subject: problem with sessions and jsp
>
>
> i am creating a web app that uses a servlet to login and then passes the
> user along to an initial jsp and several sub-jsps below that. once i
> authenticate the user in the serv
: problem with sessions and jsp
i am creating a web app that uses a servlet to login and then passes the
user along to an initial jsp and several sub-jsps below that. once i
authenticate the user in the servlet i store their info (userid, logintime)
in the session object because i want to display that
>
> as i said before, this works about 60-70% of the time, and the subsquent
> page will successfully extract 'userName' and assign it to 'foo'. but
other
> times the value isn't there and foo is null, throwing a
nullpointerexception
> when i try to put it back into the session.
>
Note that "putt
/29/00 9:48 PM
Subject: Re: problem with sessions and jsp
Try using session.getNameValues() or getValueNames() ( I always forget
which
one!) that should return u a list of all the session variables. Use this
to
debug and see exactly at what page u lose the session variables..might
help
in debuggin
radley McLain' <[EMAIL PROTECTED]>
>Subject: RE: problem with sessions and jsp
>Date: Tue, 29 Feb 2000 19:48:55 -0800
>
>what server are you using?
>
>Brian M Schaefer Ph.D.
>Senior Software Engineer
>Onvia.com
>Work. Wisely.
>http://www.onvia.com
>tel: 206.352.3
Try using session.getNameValues() or getValueNames() ( I always forget which
one!) that should return u a list of all the session variables. Use this to
debug and see exactly at what page u lose the session variables..might help
in debugging..other thing is increasing the session timeout values..i
i am creating a web app that uses a servlet to login and then passes the
user along to an initial jsp and several sub-jsps below that. once i
authenticate the user in the servlet i store their info (userid, logintime)
in the session object because i want to display that on all the subsequent
jsps
11 matches
Mail list logo