Jrun  does support url rewriting with HttpServletRequest.encodeURL(String
url)
The other trick you can do, if you don't want to do that is append
"?jsessionid="+HttpSession.getId()
to your url.
As far as what I can tell, this is all that the encodeURL function does
anyway.

[EMAIL PROTECTED] (512)-236-6244
---
The first thing was, I learned to forgive myself. Then, I told myself, "Go
ahead and do whatever you want, it's okay by me."  -- Deep Thoughts by Jack
Handey


        -----Original Message-----
        From:   Tormod Hystad [SMTP:[EMAIL PROTECTED]]
        Sent:   Monday, October 08, 2001 2:25 AM
        To:     JRun-Talk
        Subject:        RE: How to manage sessions w/o cookies in 3.0sp2

        You have several options besides cookie based session tracking.
These
        options are blunty copied from Jason Hunter's Servlet book 2nd ed.
chapter
        7:

        * Use browser/web server based user authentication (not anonymous
access)
        and track the user with the getRemoteUser() call.

        * Cook up your own system, with hidden form fields and a random
number
        generator/tracker.

        * URL rewriting. I believed JRun supported this, but I can find no
reference
        to it in the JRun docs. Maybe it is obvious that it supports it?
Anyway,
        this is done by passing every URL through the
        HttpServletRequest.encodeURL(String url) before writing it to the
client.
        The session ID will then be appended to the URL.


        - Tormod

        -----Original Message-----
        From: Raymond Blum [mailto:[EMAIL PROTECTED]]
        Sent: 6. oktober 2001 23:19
        To: JRun-Talk
        Subject: How to manage sessions w/o cookies in 3.0sp2


        Hi

          This is using JRun 3.0sp under Linux.

          I need to use cookie-less session management, as users are framing
my
        page as a third party site and cookies from such sites are rejected
by
        IE 6.

          When I turn off cookie session manegement for my appl in the JMC,
it
        pretty much breaks the application. Every request is seen as a new
        session.

         I looked at the allaire knowledgebase but found nothing.

        Can anyone help?
        Thanks In Advance.

        Raymond Blum
        Chief Technical Officer, VP of System Architecture
        Askit Systems

        ***********************************************
        AskIt is Customer Support Management Magazine's
        USERS' CHOICE GOLD AWARD WINNER. Recognized as
        the easiest to use, quickest to implement, most
        cost-effective solution for Web-based customer
        service.

        http://www.askit.com/

        NEVER ANSWER THE SAME QUESTION TWICE!
        ************************************************
        This e-mail is intended only for the use of the addressees.
        Any copying, forwarding, printing or other use of this
        e-mail by persons other than the addressees is not
        authorized.
        This e-mail may contain information that is privileged,

        
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to