----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
on 5/18/2000 8:15 AM, David Molloy <[EMAIL PROTECTED]> wrote:
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Hi,
>
> I'm using Apache1.3.9 and Jserv1.0 on Solaris 7 and I'm writing
> a login, which uses sessions to store the user etc. Is there a
> way of detecting cookie support from the client - so that when they
> go to log in, I can check for support and either send them to the login
> or to a html page (redirect) telling them to turn cookies on or
> go away!
>
> I'm a little bit confused since in my version of the API for JSDK2.0
> it says under Interface javax.servlet.http.HttpSession
> "A session can be maintained either by using cookies or by URL rewriting.
> To expose whether the client supports cookies, HttpSession defines an
> isCookieSupportDetermined method and an isUsingCookies method."
Huh? I'm looking at the index for the JSDK 2.0 javadoc right now and those
methods are not in there.
> Now I could be screwing up here, but these methods don't seem to be
> implemented... this appears to be the only mention of them I can
> find.
uhhh....you are looking at the wrong api docs. :-)
Also, upgrade JServ...you are using a really old version...
> Any ideas or any suggestions on how it might be done?
> Thanks.
Go get Jason Hunters and/or Alan Williamsons servlet books and follow the
directions...this stuff works just fine in JServ...
-jon
--
Java Servlet Based - Open Source | Collab.Net
Bug/Issue Tracking System | now hiring smart people
<http://scarab.tigris.org/> | <http://Collab.Net/jobs/>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]