>
> So in short, you're right: the session in this case is between you
> and the portal site (which is the HTTP client in this case).
>
> There is a way round this. The portal site would need to pass you the
> ORIGINATING session id, then you could maintain a session (or a
> session like object) quite easily.
>
> Doing this well depends on how the portal works. You could get the
> portal to put the jsessionid (generated from your servlet container)
> back onto the portal's client's response and to pass the cookie back
> to you when a request comes in.
>
> If you can't do that you could just get the portal to pass you it's
> own session id and you could use that to make your own simple session
> implementation by making a hashtable of hashtables. First
> hash is keyed
> by sessionid and the contained hash if keyed by object identifier.
>
> All of that presumes you can alter the code of the portal. If you
> can't you're a bit screwed I'm affraid.
>

Hi Nic

The portal site is being developed in "partnership" so, to a certain extent
I can influence how the portal is going to work. However, I do want a "best
practice" soloution that can be easily be extended in the future if
necessary. If getting this to work is dependant on being able to influence
the code of the portal then I think I need to go back to the drawing board,
since I may not be able to influence any other portal partnerships in the
future.

Regards
Roger

************************************************************************
Information in this message is confidential and may be privileged.  It is
for the exclusive use of the intended recipient(s).  If you are not the
intended recipient(s) please notify the sender and delete the message
immediately.  Unauthorised disclosure, distribution and copying of this
email is strictly prohibited.  The opinions expressed within this message
are those of the individual author.  Whilst Brake Bros takes reasonable
steps to scan this email it does not accept liability for any virus that may
be contained in it.
Bros Foodservice Limited, Enterprise House, Eureka Business Park, Ashford,
Kent TN25 4AG.
Registered in England and Wales number 706764.
Telephone 01233 206000 Fax 01233 206006.

___________________________________________________________________________
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