File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes session never expires in javaranch Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "session never expires in javaranch " Watch "session never expires in javaranch " New topic

session never expires in javaranch

Arvind Sampath
Ranch Hand

Joined: May 11, 2005
Posts: 144
How is it that the user session never expires in java ranch ?

Is this something that is specific to cgi programming ? [ I assume that this site is done in cgi ] can this be made possible in J2EE web applications also ?

I couldnt find a better forum to post am posting it here.

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Javaranch uses a cookie (not a session cookie) to persist login data.
It's not really a session in the way that JSP or ASP sessions work.

If you want to see exactly what's going on, download and install the LiveHttpHeaders plugin. With it, you can see exactly what headers are being sent back and forth.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Sharad Agarwal
Ranch Hand

Joined: Sep 11, 2002
Posts: 167
I am not sure of this, but it seems that JavaRanch stores the session in client side cookies.

Alco-Haul: We move spirits.
Demented Deliberations of a Dilettante
Jeffrey Spaulding
Ranch Hand

Joined: Jan 15, 2004
Posts: 149
and Java Ranch's Forums run on Perl


I agree. Here's the link:
subject: session never expires in javaranch
It's not a secret anymore!