Hi,

I think cookies are switched off in your browser.

Best regards
- Volker -

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 22. Mai 2002 09:33
To: [EMAIL PROTECTED]
Subject: New session is created at each response


Hello!

Is ther a different behavior regarding session management when I use
Klondike WAP Browser or Nokia Mobile Internet Toolkit V 3.0?

My application works normal using Klondike. However if I switch to Nokia's
Toolkit on each request a new session is created.

I'm redirecting to the pages in question using the following sitemap entry:

   <map:pipeline>
        <map:match pattern="Main.*" type="wildcard">
          <map:act type="my-processRequest">
            <map:parameter name="ext" value="{1}"/>
            <map:redirect-to uri="{nextPage}" session="true"/>
          </map:act>
          <map:serialize/>
        </map:match>
  </map:pipeline>

Using the following pipeline instead solves the problem but then I'm
required to use a specific pipeline for each type like .htm or .wml:

 <map:pipeline>
        <map:match pattern="Main.*" type="wildcard">
          <map:act type="my-processRequest">
            <map:parameter name="ext" value="{1}"/>
            <map:generate src="cocoon:/{nextPage}"/>
          </map:act>
          <map:serialize type="wml"/>
        </map:match>
  </map:pipeline>

Further investigations showed me if I encode the response's URL I can use
redirect. However this I try to avoid.

What does cocoon force to create a new session if I don't encode URL using
Nokia? How can cocoon access the current session using clients like Klondike
for WAP or IE for HTML?

Comments are really appreciated

Regards,

Harald

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to