John Studdert wrote:
>
>         I need HttpSession for saving state across servlets for a project.
> However, the company webserver is Netscape Enterprise 3.6 SP2, which doesn't
> support JSDK2.0, which apparently includes the HttpSession class. This is a
> big problem for us - can anyone recommend another way of tracking session
> across servlets? We've been using hidden form fields to get around the
> problem of remembering what user is logged in, but this is limited and we
> can't see any reasonably secure way of passing state between servlets. Any
> suggestions/help would be greatly appreciated!

Roll your own Session object. HttpSession is just an interface. Write a
class that implements the interface. Use your session object in all your
servlets. The only thing left to do is to handle session tracking by
relating a session id to each user. Servers generally do this using
cookies or URL rewriting, but you could even use hidden fields.

K Mukhar

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to