Hi Derek,
I assume you're using the session-fw.
--- Derek Hohls <[EMAIL PROTECTED]> wrote:
> Hi
>
> Users need to logon to gain access to the 'protected
> area'
> of the site - however, it appears that after a
> certain time
> the session expires, and the access "rights" are
> revoked;
> after
: '[EMAIL PROTECTED]'
Asunto: RE: session attributes in sitemap
> From: Yury Mikhienko [mailto:[EMAIL PROTECTED]
> On Wed, 28 May 2003 11:56:55 +0200
> "Mato Mira, Fernando" <[EMAIL PROTECTED]> wrote:
> >
> > Is there a way to set a
On Wed, 28 May 2003 15:08:36 +0200
"Mato Mira, Fernando" <[EMAIL PROTECTED]> wrote:
> > From: Yury Mikhienko [mailto:[EMAIL PROTECTED]
> > On Wed, 28 May 2003 11:56:55 +0200
> > "Mato Mira, Fernando" <[EMAIL PROTECTED]> wrote:
> > >
> > > Is there a way to set a session attribute in the sitemap
> From: Yury Mikhienko [mailto:[EMAIL PROTECTED]
> On Wed, 28 May 2003 11:56:55 +0200
> "Mato Mira, Fernando" <[EMAIL PROTECTED]> wrote:
> >
> > Is there a way to set a session attribute in the sitemap?
> >
> Try use SessionValidatorAction
I don't think this can be used to set it to the value
On Wed, 28 May 2003 11:56:55 +0200
"Mato Mira, Fernando" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Is there a way to set a session attribute in the sitemap?
>
> Thanks
>
Try use SessionValidatorAction
--
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"
--
On 28.May.2003 -- 11:56 AM, Mato Mira, Fernando wrote:
> Hello,
>
> Is there a way to set a session attribute in the sitemap?
Only by using an action.
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
-
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 21, 2003 10:50 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: Session problems!!!
>
>
> The versions are the same, I'm just using it under Window
The versions are the same, I'm just using it under Windows NT4 SP6.
I'll try to copy the sample and modify it...
What is "bugzilla"?
-Original Message-
From: Luca Morandini [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 21, 2003 10:48 AM
To: [EMAIL PROTECTED]
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 21, 2003 10:42 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: Session problems!!!
>
>
> If I copy the code you have I get nothing! Just
> Guest
> B
If I copy the code you have I get nothing! Just
Guest
But that's because of user, and when I write
I don't get anything!
-Original Message-
From: Luca Morandini [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 21, 2003 10:34 AM
To: [EMAIL PROTECTED]
Subject: RE: Sessio
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 21, 2003 10:05 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: Session problems!!!
>
>
> Both are correct. The problem is somewhere with the c
Both are correct. The problem is somewhere with the creation of the
session.
>>
>>
>> When I write I don't get
>> anything. Does that mean my session is not created? But I specified
>> > xmlns:xsp="http://apache.org/xsp";
>> xmlns:xsp-session="http://apache.org/xsp/session/2.0";
>>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 21, 2003 9:53 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: Session problems!!!
>
>
> When I write I don't get
> anything. Does that mean
-Original Message-
From: Luca Morandini [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 21, 2003 9:38 AM
To: [EMAIL PROTECTED]
Subject: RE: Session problems!!!
Maxime,
have you already checked the list of attributes by using:
?
This in order to know whether it has been created (and then
Maxime,
have you already checked the list of attributes by using:
?
This in order to know whether it has been created (and then it is a problem with its
value), or it has not (and then it is a sesison
problem).
Regards,
-
Luca Morand
Hello,
I try to merge app in PHP with cocoon in the same way.
The problem is passing cookies, so if you wouldn't mind sending me more info
about this I would appreciate.
Artur
> I do also access my webapp via jsp pages, that return XML
> content and let cocoon do the presentation issues.
> works
i created a cocoon add on for exactly your scenario.
I do also access my webapp via jsp pages, that return XML
content and let cocoon do the presentation issues.
works fine and reasonably perormant so far.
I manage to pass session cookies through cocoon and
i'm happy with it.
we (Lajos and me) i
Tom Place wrote:
Hi all,
Apologies for the relatively low level of this email but someone out
there must be able to answer in 1 min what I have been failing to do for
days now.
This simple XSP file:
xmlns:xsp="http://apache.org/xsp";
xmlns:xsp-session="http://apache.org/xsp/session/2.0";
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 07, 2002 11:52 AM
Subject: session timeout and XML Forms
Hello,
i have the following problem:
I set my session timeout in the web.xml to 1 minute (only to try),
but as soon as I am in
OTECTED]]
> Sent: Tuesday, September 24, 2002 2:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: session in xsp
>
>
> Hi Luca,
>
> I have to change and check some of posted parameters' names and values.
> That's why I want to use an xsl (or anything else where I can define
Hi Luca,
I have to change and check some of posted parameters' names and values.
That's why I want to use an xsl (or anything else where I can define
rules to changes) and cannot use a writeDOMSession transformer. After it
I can use the writeDOMSession
Gabor
Luca Morandini wrote:
>Gabor,
>
Gabor,
why don't you add a "writeDOMSession" transforming step ?
You could generate an element using "redefine-params.xsl" with all the request
paremeters you like, and then write that very element
to the session.
Best regards,
-
Luca
> I'm not that Xindice/Tamino expert, but does Tamino support the xmldb
> interface?
> I think no. You can access Tamino directly via the http protocol.
>
> HTH
> Carsten
Someone here (I work in Software AG France) has developped an API that
allows to use cocoon's xml db capabilities to use Tamin
> -Original Message-
> From: Barbara Post [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 04, 2002 10:43 AM
> To: [EMAIL PROTECTED]
> Subject: c2.1 and xml:db [was :Re: session context in 2.1 ?]
>
>
> Thanks a lot Carsten, and for the joke too. Do I have
atabase
- Original Message -
From: "Carsten Ziegeler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 04, 2002 9:29 AM
Subject: RE: session context in 2.1 ?
>
>
> > -Original Message-
> > From: Barbara Post [mailto:[
> -Original Message-
> From: Barbara Post [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 04, 2002 9:20 AM
> To: [EMAIL PROTECTED]
> Subject: session context in 2.1 ?
>
>
> Reading the docs
> (http://xml.apache.org/cocoon/developing/webapps/session.html), it seems
> that there
PROTECTED]
Subject: RE: Session-handling without cookies
Yes,
URL rewriting - refer to the documentation of your servlet engine on how
to enable and use it.
Cocoon provides the urlencoder transformer which helps you in url
rewriting.
Carsten
> -Original Message-
> From: Thomas Garger [
Yes,
URL rewriting - refer to the documentation of your servlet engine
on how to enable and use it.
Cocoon provides the urlencoder transformer which helps you in
url rewriting.
Carsten
> -Original Message-
> From: Thomas Garger [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 16, 2002
my fault, it worked all the time ..
[EMAIL PROTECTED] wrote:
> hi,
>
> is it possible to propagate a session to a ressource when the session
> was created in the same request and no cookies are allowed ?
> i got a login pipeline that creates a session
> (request.getSession(true)) and then ca
tead of {1}... and it works better...
Sorry for my questions...
Nicolas !!
> -Message d'origine-
> De : zze-STIENNE Nicolas FTRD/DMI/CAE
> Envoye : jeudi 4 juillet 2002 11:27
> A : [EMAIL PROTECTED]
> Objet : RE: session...
>
>
> Thanks for this sugge
> -Message d'origine-
> De : Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> Envoye : mercredi 3 juillet 2002 17:59
> A : [EMAIL PROTECTED]
> Objet : RE: session...
>
>
> &g
> From: zze-STIENNE Nicolas FTRD/DMI/CAE
>
> [bis: I indicated a false title]
>
> Hi !!
>
> I reuse the Webapp sample "protected area".
>
> Once the identification done, I arrived on the "protected page". But
how
> could I do to go into another page without quiting the "protected
zone".
>
>
On Thursday, June 13, 2002, at 06:53 PM, Bruce Krautbauer wrote:
> also note the namespace for the 'a' element has disappeared.
>
The transformer you are using is based on the
AbstractSAXTransformer, which I believe does not handle
namespaces properly.
I have the same problem with the new So
Bruce Krautbauer wrote:
> Maybe it's just IE. The error I get when trying to display this output (as the
>result of a ) is:
>
> The XML page cannot be displayed
> Cannot view XML input using XSL style sheet. Please correct the error and then click
>the Refresh button, or try again later.
Maybe it's just IE. The error I get when trying to display this output (as the result
of a ) is:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click
the Refresh button, or try again later.
---
> creates the following invalid XML output (there are multiple xmlns
attributes on the 'root' element):
>
>
>
> http://cocoon.apache.org/session/1.0";
xmlns="http://cocoon.apache.org/session/1.0";
xmlns="http://cocoon.apache.org/session/1.0";>
> foo
> bar
>
you can read this :
http://xml.apache.org/cocoon/developing/sunshine-contexts.html
Eduardo Godoy wrote:
> Sorry,
> I know that this is a very simple question... but ...
>
> How can I set a value in a session, using XSP, and get it into another
> XSP page?
>
> Eduardo.
Hi,
there is no functionality to get the list of available session contexts.
The current philosophie is that you as the developer have to know
them, because you have to explicitly create a session context with
.
But if you need this functionality, send a patch ;)
In addition the three contexts r
yuryx wrote:
> Hello all!
>
> May be anyone to answer me for the next question:
> Why org.apache.cocoon.environment.Session not available in XSP?
> Why cocoon-dev shouldn't built-in it into XSP as
> org.apache.cocoon.environment.Request parameter (for example)?
>
> Thanx.
> Yury.
>
>
>
> ---
> >
> > If I turning off cookies from the browser, Session does not persist.
> > I'm using Cocoon 2.0rc2 and as of my understanding it wraps the
> > javax.servlet.http.HttpSession, As I know when cookies are
> > disabled it should use URL rewriting with jsessionid. I can see that
>
> Not *it*, b
Berin Loritsch wrote:
> Alexander Smirnoff wrote:
> > Hi,
> >
> > If I turning off cookies from the browser, Session does not persist.
> > I'm using Cocoon 2.0rc2 and as of my understanding it wraps the
> > javax.servlet.http.HttpSession, As I know when cookies are
> > disabled it should use URL
Alexander Smirnoff wrote:
> Hi,
>
> If I turning off cookies from the browser, Session does not persist.
> I'm using Cocoon 2.0rc2 and as of my understanding it wraps the
> javax.servlet.http.HttpSession, As I know when cookies are
> disabled it should use URL rewriting with jsessionid. I can see
> From: Alexander Smirnoff [mailto:[EMAIL PROTECTED]]
>
> Hi,
>
> If I turning off cookies from the browser, Session does not persist.
> I'm using Cocoon 2.0rc2 and as of my understanding it wraps the
> javax.servlet.http.HttpSession, As I know when cookies are
> disabled it should use URL rewri
Hi Chiths,
no, I did not touch web.xml.
Heike
> -Original Message-
> From: Chitharanjan Das [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 19, 2002 11:32 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Session handling cocoon - servlet - stylesheet solved
>
>
>
Thanks for the effort...
1 question though, did U have to register the servlet in the web.xml.
Id so could U hust show the listing of your web.xml as well..
Regds,
Chiths
-Original Message-
From: Franosch, Heike [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 1:56 AM
To: [EMAIL
Thank you very much for the lesson. I'll try another way.
Roman
Vadim Gritsenko wrote:
> > From: KOZLOV Roman [mailto:[EMAIL PROTECTED]]
> >
> > Hello,
> >
> > Vadim thank you for your advice. It helped me. I was busy some
> time and
> > had postponed this problem. Unfortunatelly it stil
> From: KOZLOV Roman [mailto:[EMAIL PROTECTED]]
>
> Hello,
>
> Vadim thank you for your advice. It helped me. I was busy some
time and
> had postponed this problem. Unfortunatelly it still remains.
> I've found out that WildcardSessionAttributeMatcher (I'm using
Cocoon
> 2.0.1) doesn't s
Hello,
Vadim thank you for your advice. It helped me. I was busy some time and
had postponed this problem. Unfortunatelly it still remains.
I've found out that WildcardSessionAttributeMatcher (I'm using Cocoon
2.0.1) doesn't see session attributes changed or created before in the same
req
Roman,
Aggregation is being executed linearly, which means that first part is
executed before second. If first part contains an XSP and that XSP is
not cached, it could change session attribute which will be visible in
the second part's XSP (if it is not cached)
XSPs are not cacheable by default
On 28.Mar.2002 -- 10:22 AM, Alexander Kruth wrote:
> Hi!
> Is it possible to write a session-attribute to a database?
IMHO no, not using the database actions from main trunk. Database
actions in scratchpad support arbitrary sources.
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROT
Yes, it is broken: see this my bug report and solution!
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7478
java.lang.NullPointerException in AbstractValidatorAction
Summary: java.lang.NullPointerException in
AbstractValidatorAction
Product: Cocoon 2
> From: Je vous site [mailto:[EMAIL PROTECTED]]
>
> Thank you very much Vadim, it's perfect.
>
> I would like to understand why it works this way : which entry of the
> javadoc API of Cocoon must i read.
Better if you take a look at the generated Java code for the XSP page,
at least once. You w
Thank you very much Vadim, it's perfect.
I would like to understand why it works this way : which entry of the
javadoc API of Cocoon must i read.
I have found the Interface request, but not the Object request. In fact
I would like a schematic structure of the object cocoon. If this schema
exis
AFAIU,
You want, in main.xsp:
request.getSession().setAttribute("my-data", myObject);
In svg.xsp:
MyObject myObject =
(MyObject)request.getSession().getAttribute("my-data");
Vadim
-Original Message-
From: Je vous site [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 1
Stefano Bonnin wrote:
>Hi,
>
>I'm trying to convert an old C1 application in C2, but I found a lot of
>problems. All session (request/response) management has changed.
>
>For example:
>
>with C1 I wrote:
>
>
>if ((session.isNew()) and (myVariable == myValue)) {
>
>.
>.
>respon
> From: Lorenzo De Sio [mailto:[EMAIL PROTECTED]]
>
> Hi all,
>
> I tried hard but got somewhat confused with the documentation.
> How can I make session attribute values available to a XSLT
transformation?
>
> In fact, does something like
>
>
>
>
>
> exist for session attributes?
N
>
> On Thu, 29 Nov 2001, Alexander Smirnoff wrote:
>
> > How to invalidate session after pipline executes?
> >
> > If I put inside pipline no matter
> > where, it executes invalidation before execution of pipline.
>
> This is itentional. Look, the sitemap is collecting components
> (Generator, T
On Thu, 29 Nov 2001, Alexander Smirnoff wrote:
> How to invalidate session after pipline executes?
>
> If I put inside pipline no matter
> where, it executes invalidation before execution of pipline.
This is itentional. Look, the sitemap is collecting components
(Generator, Transformers, Seria
Sorry to have wasted everyone's time. I was calling session.invalidate()
in the recycle() method of the transformer. Apparently recycle gets
called more often than I thought. Thanks for the assistance, however...
Liam Morley
-
check the confihuration file for tomcat
- Original Message -
From: "Liam Morley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 26, 2001 2:51 AM
Subject: Session object has new ID each time
> My environment is Cocoon 2, rc2, running on Tomcat 4/Windows XP. I have
> t
Nope, not using it through the URL, but it's the same id... And cookies
do appear to be enabled... I even tried giving explicit permission to my
domain just in case.
Is there any way that the session could be invalidated in the code,
causing the session to make a new id? Or would that even be a
p
Cocoon uses its own session class: org.apache.cocoon.environment.Session, so
you should simply use it exactly as if you were using the
javax.servlet.http.Session. Remove javax.servlet.http.* from imports and
everything must work (as I remember Cocoon's session class is imported
already)
Regards,
hdocs/api/
http://xml.apache.org/cocoon2/apidocs/
Liam Morley
-Original Message-
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 18, 2001 2:08 PM
To: [EMAIL PROTECTED]
Subject: RE: session and xsl
Marty,
I tried your suggestion, but it didn't work. Although cocoon is seein
"alias" in apache starts a new session? I'm confused. I thought Tomcat was
> handling them all.
>
> Mark
>
> -Original Message-----
> From: Marty McClelland [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 18, 2001 9:19 AM
> To: [EM
as" in apache starts a new session? I'm confused. I thought Tomcat was
handling them all.
Mark
-Original Message-
From: Marty McClelland [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 18, 2001 9:19 AM
To: [EMAIL PROTECTED]
Subject: RE: session and xsl
I use C1.8.2 and have the
> Sent: Tuesday, October 16, 2001 3:06 PM
> To: [EMAIL PROTECTED]
> Subject: RE: session and xsl
>
>
> This is what I have in C1 in my XSP code:
>
>
> EmployeeData employeeData = null;
> try
> {
> employeeData = (EmployeeData)ses
At 2:09 PM +0100 13/9/01, Jeremy Quinn wrote:
>Dear All,
>
>I am building a little login test.
>It is meaningless, because the login validation is hard-coded but it is a
>handy test for me, because I am just learning ;)
>
>Here is a snippet of my (sub) sitemap:
[snip]
>
Use action to get session attributes and return them to sitemap.
Right now there is no such action, but it is easy to write it.
Vadim
> -Original Message-
> From: logica [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 23, 2001 1:09 PM
> To: [EMAIL PROTECTED]
> Subject: Session Parame
: Enke Michael <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 1:53 PM
Subject: Re: session-invalidator and back-button?
> But if I use e-mail or banking over internet,
> it is not possible to get the last page back.
> And there is no extra windo
gt;
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 1:53 PM
Subject: Re: session-invalidator and back-button?
> But if I use e-mail or banking over internet,
> it is not possible to get the last page back.
> And there is no extra window, the back button is selectable.
> Th
; to the history...
> > >
> > > > -Original Message-----
> > > > From: Enke Michael
> > > [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, 16 August 2001 1:54 pm
> > > > To: [EMAIL PROTECTED]
> > > > Subject:
Message-
> > > From: Enke Michael
> > [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, 16 August 2001 1:54 pm
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: session-invalidator and back-button?
> > >
> > >
> > > But if I use e-m
ssage-
> > From: java guru [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 16 August 2001 2:12 pm
> > To: [EMAIL PROTECTED]
> > Subject: RE: session-invalidator and back-button?
> >
> >
> > What do u mean?..the original question was "once
> he
>
Ah, my apologies - I missed the 'logged out' bit...
> -Original Message-
> From: java guru [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 16 August 2001 2:12 pm
> To: [EMAIL PROTECTED]
> Subject: RE: session-invalidator and back-button?
>
>
> What do
ilto:[EMAIL PROTECTED]]
> > Sent: Thursday, 16 August 2001 2:02 pm
> > To: [EMAIL PROTECTED]
> > Subject: RE: session-invalidator and back-button?
> >
> >
> > Hi.,
> > Correct me if i am wrong...why not use page
> > expiration time in http headers?..
&
Sent: Thursday, 16 August 2001 2:02 pm
> To: [EMAIL PROTECTED]
> Subject: RE: session-invalidator and back-button?
>
>
> Hi.,
> Correct me if i am wrong...why not use page
> expiration time in http headers?..
>
>
> --- "Morrison, John" <[EMAIL PROTEC
new page is added
> to the history...
>
> > -Original Message-
> > From: Enke Michael
> [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 16 August 2001 1:54 pm
> > To: [EMAIL PROTECTED]
> > Subject: Re: session-invalidator and back-button?
> >
> >
&g
If you use the javascript:location.replace (I *think* that's what its
called) I don't *believe* that the new page is added to the history...
> -Original Message-
> From: Enke Michael [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 16 August 2001 1:54 pm
> To: [EMAIL PR
But if I use e-mail or banking over internet,
it is not possible to get the last page back.
And there is no extra window, the back button is selectable.
The server answers that an error occured or that
I have to login again.
Is there a way in cocoon other than spawning another browser window?
Mi
Hi Michael,
I believe that the only way to solve such an issue is to 'run' the protected
portion of your website in a spawned browser window, and then when the user
log's out, to close that window. This will ensure that the Back history,
which is local to a browser window, cannot be access with p
>Oskar,
>
>try this instead:
>
>Oskar
>Werewka
>
>
>If you look again at your generated code, you can see that it is setting
>the value for "username" to "" in the call to setAttribute().
Thanks it is working now. Why did not I saw this?
>-Christopher
>
>
>
>
>Please respond to [EMAIL PROTECT
On Fri, 8 Jun 2001, Oskar Werewka wrote:
>
> I have this:
>
>
>
Try this
Oskar Werewka"
Giacomo
>
> and I'm not getting any "Oskar Werewka" in the output?
> but why? When I looked at the generated java code, it
> seens to be OK:
>
>session.setAttribute(
> Str
Oskar,
try this instead:
Oskar
Werewka
If you look again at your generated code, you can see that it is setting
the value for "username" to "" in the call to setAttribute().
-Christopher
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: session basic
I have t
83 matches
Mail list logo