You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Izzo, Graziano" <GI...@na.atos.it> on 2000/11/21 19:51:32 UTC

same session in different xml files

	Hi people,
	I' m writing an application that call 
	different xml files.
	I want, of couse, have the same session_id in 
	each files.
	Could i have same sample example? ( in pure java too)
	thanks
	Graziano




Re: same session in different xml files

Posted by Matthew Cordes <mc...@maine.edu>.

I don't think I understand your question.  If you have two
servlets/xsp pages in the same context and they both call

HttpSession session = <HTTPServletRequest>.getSession();

They both have references to the same session object.
( Assuming you're using cookies, I'm not sure otherwise )
Is this what you mean? 

-matt


> On Tue, 21 Nov 2000, Izzo, Graziano wrote:
> 
> 
> 	Hi people,
> 	I' m writing an application that call 
> 	different xml files.
> 	I want, of couse, have the same session_id in 
> 	each files.
> 	Could i have same sample example? ( in pure java too)

Re: same session in different xml files

Posted by Uli Mayring <ul...@denic.de>.
On Tue, 21 Nov 2000, Izzo, Graziano wrote:

> 
> 	Hi people,
> 	I' m writing an application that call 
> 	different xml files.
> 	I want, of couse, have the same session_id in 
> 	each files.
> 	Could i have same sample example? ( in pure java too)

You can download my auth taglib from http://ulim.cocoonhost.com to see how
it's done.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Softwareentwicklung