| Author |
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 this.so am posting it here. Thanks!
|
 |
Ben Souther
Sheriff
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. http://livehttpheaders.mozdev.org/
|
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 giggle J.
|
 |
 |
|
|
subject: session never expires in javaranch
|
|
|