cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volker Schneider" <volker.schnei...@danet.de>
Subject RE: New session is created at each response
Date Tue, 04 Jun 2002 12:50:05 GMT
Hi,

I think cookies are switched off in your browser.

Best regards
- Volker -

-----Original Message-----
From: a000@gmx.net [mailto:a000@gmx.net]
Sent: Mittwoch, 22. Mai 2002 09:33
To: cocoon-users@xml.apache.org
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message