Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2007

Tip: Looking for answers? Try searching our database.

New to web development - how to handle sessions

Thread view: 
pramodr - 18 Dec 2007 12:46 GMT
Hi group,

I am not that experienced in web development and planning to do a
sales application myself to add some professional value. I have heard
that servlets can track the sessions, but have very limited idea on
this. My question is what is the strategy adopted in web applications
mostly ? Also heard of the Login servlet - is this the one which
tracks the entire session and delegates user requests to other
servlets ?

Please guide me.

Thanks and regards
pramodr - 18 Dec 2007 13:35 GMT
Also can anyone say how can I configure a timeout value for the
servlet session ?

> Hi group,
>
[quoted text clipped - 9 lines]
>
> Thanks and regards
Arne Vajhøj - 19 Dec 2007 03:44 GMT
> Also can anyone say how can I configure a timeout value for the
> servlet session ?

Session timeout is also managed by the container.

Arne
Arne Vajhøj - 19 Dec 2007 03:43 GMT
> I am not that experienced in web development and planning to do a
> sales application myself to add some professional value. I have heard
[quoted text clipped - 3 lines]
> tracks the entire session and delegates user requests to other
> servlets ?

The servlet container manage the sessions.

It should be in any Java web app book.

Arne
Lew - 19 Dec 2007 06:45 GMT
pramodr wrote:
>> I have heard
>> that servlets can track the sessions, but have very limited idea on
>> this. My question is what is the strategy adopted in web applications
>> mostly ? Also heard of the Login servlet - is this the one which
>> tracks the entire session and delegates user requests to other
>> servlets ?

> The servlet container manage the sessions.
>
> It should be in any Java web app book.

One good place is
<http://java.sun.com/javaee/5/docs/tutorial/doc/>
which is a bit thick reading at times, but still one of the most useful
educational sources I have found.

There is not really such a thing as "the" Login Servlet so much as such a
common need for it that it gets built in to the container, e.g., Tomcat or
JBoss or GlassFish, and also recreated at the application level over and over
in nearly the same form.

<http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html>

Signature

Lew



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.