You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by blogger <pa...@gmail.com> on 2007/07/20 02:48:13 UTC

Cocoon sessions and cookies

Hello,

I am not too familiar with cocoon, and my search through the documentation
has not been very fruitful so far.  I am pipelining a b2evolution blog
through cocoon, and I am having a problem maintaining the sessions and
cookies.
Half the problem was solved by using WebServiceProxy as follows:
<map:generate type="wsproxy" src="http://myBlogDomain/{1}" />
I am now able to login and submit other forms.  
The remainder of the problem is this: once the user is logged in, the pages
generated should reflect this by having different links, which are generated
according to the existence of a current user.   Unfortunately, when the
request is made via cocoon, the correct links are not generated.  Another,
area where the session problem appears is with email validated user
registrations.  They are not happening because Firefox does not recognize a
session.
I am not sure if my explanation is clear. I would be happy to clarify if
there are any questions.
Thanks in advance!

-- 
View this message in context: http://www.nabble.com/Cocoon-sessions-and-cookies-tf4114555.html#a11700526
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon sessions and cookies

Posted by blogger <pa...@gmail.com>.
Thank you Tobia for your suggestion.
I looked into packet sniffers, but I am not able to handle them at this
time.  I find the Firefox "live HTTP headers" add-on, and I am using it to
look into it a bit more.  If you have any other suggestions, I would be
happy to hear them.
Cheers,

Parissa
-- 
View this message in context: http://www.nabble.com/Cocoon-sessions-and-cookies-tf4114555.html#a11790799
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon sessions and cookies

Posted by Tobia Conforto <to...@linux.it>.
blogger wrote:
> I am pipelining a b2evolution blog through cocoon, and I am having a
> problem maintaining the sessions and cookies.

I suggest you fire a packet sniffer (my favorites are tcpick in a
terminal, followed by Wireshark in a GUI or on Windows) to capture both
the traffic between your browser and Cocoon, and between Cocoon and the
blog server.

This way you can see what's happening "on the wire" and you can easily
spot any problems.


Tobia

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org