AW: how long still a session valid ?

2003-07-01 Thread Markus Heussen
Hi, by default the session valid periode depend on the servlet engine and its configuration you are using. but you can set the session invalid interval within your xsp page: look at the documentation at http://cocoon.apache.org/2.1/userdocs/xsp/session.html Markus -Ursprüngliche

how long still a session valid ?

2003-07-01 Thread Sliman Bouchareb
hi, im using : is there a time out or something like that in the session-validator ? many thanx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Modular database select -> session attributes won't fly

2003-06-20 Thread Christian Haul
Arthur Allen wrote: Thanks Chris for the clarifications. You wrote-- In you need to configure the output for the actions, for each one of the database actions seperately. Add session-attr This would be the place to disable prepending table name or appending row number to the parameter name

session-validator problem

2003-06-19 Thread Bruno Pierre
a part of my sitemap.xmap                                                                       there is no problem with the login page but when i log in the     failed even if there is a user_id=0 in the session (i know it because i put

Re: Getting session object inside a custom generator

2003-06-18 Thread Lionel Crine
yes. Use the ObjectModelhelper object in the setup method. for example //Get the session parameter id Request request = ObjectModelHelper.getRequest(objectModel); Session session = request.getSession(false); // requete String id = (String)session.getAttribute("id"

AW: Getting session object inside a custom generator

2003-06-18 Thread Jörn Heid
Title: Nachricht public void generate () throws SAXException {Session session = ObjectModelHelper.getRequest (objectModel).getSession (true);   -Ursprüngliche Nachricht-Von: Brian Delahunty [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 18. Juni 2003 12:18An: [EMAIL

Getting session object inside a custom generator

2003-06-18 Thread Brian Delahunty
Hey All,   I was just wondering if it is possible to get access to a users session object from within a custom generator?   Thanks   Brian Dela

Re: Re: Modular database select -> session attributes won't fly

2003-06-16 Thread Arthur Allen
Thanks Chris for the clarifications. You wrote-- In you need to configure the output for the actions, for each one of the database actions seperately. Add session-attr (>> please see javadocs for exact parameter name) to This would be the place to disable prepending table name or app

Re: Re: auth session context and session-attr

2003-06-16 Thread Markus Schulze
Thanks Edison, I didn't know there was something like SessionPropagatorAction. I feel sort of "uneasy" to put information (authentication/ID and userid) twice into the session context, but at least it works

Re: auth session context and session-attr

2003-06-14 Thread Edison Too
Hi, I was also 'agonizing' how to get the user Id in a typical site map without using {../../../ID} ! After digging around the source, I have 2 ideas 1) Modify DefaultContextManager in Session framework to store each Session Context into the Session using their context name as t

Re: Modular database select -> session attributes won't fly

2003-06-14 Thread haul
Arthur Allen wrote: Hi Folks, I am having problems using modular database select action. Specifically, I cannot seem to direct its output to session attributes let alone control the naming of those attributes. Instead, it posts the results of my single row select to map parameters, named as it

Modular database select -> session attributes won't fly

2003-06-13 Thread Arthur Allen
Hi Folks, I am having problems using modular database select action. Specifically, I cannot seem to direct its output to session attributes let alone control the naming of those attributes. Instead, it posts the results of my single row select to map parameters, named as it sees fit (table.col

Re: JXTemplate and session beans

2003-06-13 Thread JD Daniels
Burm" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 12:25 PM Subject: RE: JXTemplate and session beans > > I am using my own bean that I stored in the session. See the Wiki page I > just added about authentication. > > I never felt comfor

RE: JXTemplate and session beans

2003-06-13 Thread Hugo Burm
I am using my own bean that I stored in the session. See the Wiki page I just added about authentication. I never felt comfortable with the way the authentication and session frameworks store values in the session. E.g. I had to write some input and output modules that retreive these

Re: JXTemplate and session beans

2003-06-13 Thread JD Daniels
I am trying the same thing, but can't seem to figure it out Anyone tell me what would be the equivlent of : ?? - Original Message - From: "Hugo Burm" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 1:07 AM Subject: RE: J

auth session context and session-attr

2003-06-13 Thread Markus Schulze
Hello, is it possible to retrieve session values created by the LoginAction (context="authentication") with the Session-Attr Input Module? eg.: As I already successfully tried, I can use the session-transformer to retrieve

RE: JXTemplate and session beans

2003-06-13 Thread Hugo Burm
With some more trial and error I solved my own problem: This is working in a JXTemplate: You are logged in with id: ${session.getAttribute("usr").id} (id is one of the properties of the usr bean that was stored in the session) I did not know you can call a java method within the

JXTemplate and session beans

2003-06-12 Thread Hugo Burm
How can I access the members of a bean that is stored in the session? In an action I did something like: session.setAttribute("usr",myBean); And now I am trying to access the members of the bean in a JXTemplate view. I tried $(session.usr.lastname} and #{session/usr/lastn

RE: can't resolve session in xsp

2003-06-12 Thread Geoff Howard
some convenience member variables like "session", "request", etc. but they are not initiated yet when you are referring to them below. This whole process might be a lot less mysterious if you go examine the .java file that is created from your xsp prior to compilation. It&#

Re: can't resolve session in xsp

2003-06-12 Thread morten svanæs
Hi all, seems like I finaly found the solution myself. Maybe it's pretty obvious but anyway. It seems like you can't get session before the first tag in a xsp. THIS DON'T WORK! ,reports "can't resolve session" String sessionvar = (String)session.getAttribut

Re: can't resolve session in xsp

2003-06-12 Thread morten svanæs
2003 12:47 AM Subject: can't resolve session in xsp > Hi, > I'm getting a error mesage when I'm trying to access the session in > a xsp script and I don't understand why. > It happens when I'm trying to assign a session variable with > session.getAttribut

can't resolve session in xsp

2003-06-11 Thread morten svanæs
Hi, I'm getting a error mesage when I'm trying to access the session in a xsp script and I don't understand why. It happens when I'm trying to assign a session variable with session.getAttribute to a another variable, but when I write outside the it works. Here

session transformer not behaving

2003-06-06 Thread Steven Cummings
Hello, I've seen some discussion of this component lately on the mailing list but my problem seems a little different. I have ensured that my session namespace is updated to the new one (http://apache.org/cocoon/session/1.0), so that's not the problem. Basically, this is what is ha

RE: problems tracking session from page to page

2003-06-05 Thread Geoff Howard
which you can do with the create-session="true" attribute on xsp:page. see the docs. Geoff At 05:37 AM 6/5/2003, you wrote: You have to create a session object first. Regards shoaib -Original Message- From: Mike Lenyon [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003

RE: problems tracking session from page to page

2003-06-05 Thread shoaib
Title: Message You have to create a session object first.   Regards shoaib -Original Message-From: Mike Lenyon [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 9:38 AMTo: [EMAIL PROTECTED]Subject: Re: problems tracking session from page to page shoaib

Re: How to save a session context?

2003-06-02 Thread Antonio Gallardo
Hi: There is no current built-in solution to your question in Cocoon. But you can customize the session or authentication Manager to your needs. Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: How to save a session context?

2003-06-02 Thread Reinhard Pötz
AFAIK you can implement a listener which will be notified when the session is terminated. But this has nothing to do with Cocoon but the Servlet API. HTH Reinhard > -Original Message- > From: Nina Dahlmann [mailto:[EMAIL PROTECTED] > Sent: Monday, June 02, 2003 11:29 AM >

How to save a session context?

2003-06-02 Thread Nina Dahlmann
Hi! I am working for a project, where we develop an e-learning platform based on Cocoon. My question: is it possible to write information that is gathered in a session context out into e.g. a database or a file, when the session is terminated by a time out? I know that doing this, if the usere

Re: Session ended - avoiding error pages?

2003-05-30 Thread Alex Romayev
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 expi

Session ended - avoiding error pages?

2003-05-29 Thread Derek Hohls
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 that any attempt to access any link in the protected sections results in a Cocoon err

Re: problems tracking session from page to page

2003-05-29 Thread Geoff Howard
nt() is called on the pipeline. You get the same error I think if you omit the create-session attribute on a simple one-xsp pipeline that uses session code inside the root element. HTH, Geoff At 02:14 AM 5/28/2003, you wrote: geoff, you're right! i moved the create-session attribute to the first

RE: session attributes in sitemap

2003-05-28 Thread Carmona Perez, David
: '[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

Re: session attributes in sitemap

2003-05-28 Thread Yury Mikhienko
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: > > >

RE: session attributes in sitemap

2003-05-28 Thread Mato Mira, Fernando
> 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&#

Re: session attributes in sitemap

2003-05-28 Thread Yury Mikhienko
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

Re: session attributes in sitemap

2003-05-28 Thread Christian Haul
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

session attributes in sitemap

2003-05-28 Thread Mato Mira, Fernando
Hello, Is there a way to set a session attribute in the sitemap? Thanks -- Fernando D. Mato Mira [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problems tracking session from page to page

2003-05-27 Thread Mike Lenyon
geoff, you're right! i moved the create-session attribute to the first map:part in the aggregation you saw in my example. i did the same in another nearly identical aggregation in my sitemap. now i'm able to access the session from within the particular map:part where i wanted to in

Re: problems tracking session from page to page

2003-05-27 Thread Geoff Howard
I think the issue is the aggregation. to test, go directly to the general.currentproduct pipeline (with the create-session attr. in). If that works, try to move it to the first map:part if you can as a workaround. A better solution would be to look into the session actions that will ensure you

Re: Portal session-context in the portal-fw

2003-03-27 Thread Helmut Tammen
Hi, thanks to everyone who thought about my problem. In the meantime it´s working like documented. The problem was that I mixed the xsp-session logicsheet with the session transformer. After separating these and using them in the correct manner it worked. Helmut On Wed, 26 Mar 2003 15:16:54

Re: Portal session-context in the portal-fw

2003-03-26 Thread Helmut Tammen
Here are some additional informations: Cocoon - Verion: 2.1-dev (CVS) All attributes in the session: Name: uprofile:portalhandler|sunspotdemo:user_5_guest_guest Value: {misc=[Lorg.w3c.dom.Node;@124154, typeConfPaths=[profile/layout- profile[not(@*)]/portal[not(@*)]/layouts[not(@*)]/layout[not

RE: how instantiate an Action for each session?

2003-03-26 Thread Reinhard Pötz
You can check in the action if the session is new - have a look at the API (If I'm right there is a "session.isNew()" method ...) Regards, Reinhard > -Original Message- > From: vupt vupt [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 3:16 A

Portal session-context in the portal-fw

2003-03-26 Thread Helmut Tammen
Hi, I can´t get any information from the session-context "portal". Following situation: 1. Coplet resource uri: 2. pipeline in sitemap.xmap: 3. xsp - file test.xsp (excerpt): http://apache.org/xsp"; xmlns:session="http://apache.org/xsp/se

Re: how instantiate an Action for each session?

2003-03-25 Thread Charles Yates
Component instantiation is handled by the underlying component framework, Avalon. What you would like to do is _might_ be possible by mucking with Avalon (ComponentHandlers and such) but there must be an easier way. For example, your Action could use the Session object to keep an Object

how instantiate an Action for each session?

2003-03-25 Thread vupt vupt
Hi, I am hoping someone can help me with this. I have created an Action and would like an instance of that Action to be instantiated for each new session that uses the Action. For example, take this snippet from my sitemap

Re: How can I get session attribute into xsl document ?

2003-03-14 Thread Martin Dulisch
You could use the session transformer before the xsl transformer. An other way would be to define parameters in the sitemap and use input-modules to determine the session attributes. Martin - s&n AG Tel.: 05251/158

AW: empty session attribute ?

2003-03-13 Thread Marco Rolappe
det: Donnerstag, 13. Marz 2003 16:02 > An: [EMAIL PROTECTED] > Betreff: empty session attribute ? > > > I have a Transformer which store an object into the session and thean > Action, but the Action only get the name of the attribute, why ? > > Here is my action code : > pu

How can I get session attribute into xsl document ?

2003-03-13 Thread Lionel Crine
I'd like to get some session attributes to use them into my xsl stylesheet. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

empty session attribute ?

2003-03-13 Thread Lionel Crine
I have a Transformer which store an object into the session and thean Action, but the Action only get the name of the attribute, why ? Here is my action code : public class MyAction extends AbstractAction implements ThreadSafe { public Map act (Redirector redirector, SourceResolver resolver

"Get" and "Set" "XSP-Session" Attributes errors

2003-03-03 Thread Maxime.Gheysen
Hello, I have to set and get a user name in my web-application. I use a xsp-session and followed the sample from "Cocoon Developer's handbook : using content logic XSP" about authentification. But if I write exaclty the same pages, I get this error: "org.apache.cocoon

RE: How can I handle session expiration event

2003-02-24 Thread MAHE Vincent FTRD/DIH/REN
TED]Envoyé : lundi 24 février 2003 15:15À : [EMAIL PROTECTED]Objet : RE: How can I handle session expiration event Hi (bonjour) Vincent,   you can certainly look at HttpSessionListener, as Cocoon is a java web-application after all.   Regards.Laurent. -Message

Re: How can I handle session expiration event

2003-02-24 Thread Ing. Antonio Gallardo
> > Is there a way to handle session expiration events with cocoon ? > > I would like to launch some cleaning job when a session expires, is it > possible ? > I think no. :-( Antonio Gallardo - To unsubscri

RE: How can I handle session expiration event

2003-02-24 Thread Laurent Comte
ECTED]Objet : How can I handle session expiration event   Is there a way to handle session expiration events with cocoon ?   I would like to launch some cleaning job when a session expires, is it possible ?   Vincent  

How can I handle session expiration event

2003-02-24 Thread MAHE Vincent FTRD/DIH/REN
  Is there a way to handle session expiration events with cocoon ?   I would like to launch some cleaning job when a session expires, is it possible ?   Vincent  

RE: Session problems!!!

2003-02-21 Thread Luca Morandini
> -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

RE: Session problems!!!

2003-02-21 Thread Maxime.Gheysen
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]

RE: Session problems!!!

2003-02-21 Thread Luca Morandini
> -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

RE: Session problems!!!

2003-02-21 Thread Maxime.Gheysen
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

RE: Session problems!!!

2003-02-21 Thread Luca Morandini
> -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

RE: Session problems!!!

2003-02-21 Thread Maxime.Gheysen
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"; >>

RE: Session problems!!!

2003-02-21 Thread Luca Morandini
> -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

RE: Session problems!!!

2003-02-21 Thread Maxime.Gheysen
When I write I don't get anything. Does that mean my session is not created? But I specified http://apache.org/xsp"; xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="true" > And then user; Where user="Guest"

RE: Session problems!!!

2003-02-21 Thread Luca Morandini
; To: [EMAIL PROTECTED] > Subject: Session problems!!! > > > How does sessions work??? > I created a login form like in the "Cocoon developer's handbook" > chapter8, then the login xsp page as in the book. > That works, I get on my page something like this > User

Session problems!!!

2003-02-21 Thread Maxime.Gheysen
How does sessions work??? I created a login form like in the "Cocoon developer's handbook" chapter8, then the login xsp page as in the book. That works, I get on my page something like this User 'Guest' has been authentificated but when I write I don't get anything!!! Please help! --

Re: get sunrise session values from an xsp page

2003-02-19 Thread Antonio Gallardo
Check this: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13070 Antonio Gallardo Lionel Crine dijo: > How can I get sunrise session values in an xsp page. > > I'm trying this ? > > My login page : > > > > > > > login?resource=i

get sunrise session values from an xsp page

2003-02-19 Thread Lionel Crine
How can I get sunrise session values in an xsp page. I'm trying this ? My login page : login?resource=ixia_demo My xsp page : http://apache.org/xsp"; xmlns:xsp-request="http://apache.org/xsp/request/2.0"; xmlns:sunshine="http://cocoo

RE: How to get session attributes in XSL

2003-02-17 Thread Luca Morandini
> -Original Message- > From: Xavier RODRIGUEZ [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 17, 2003 8:59 AM > To: [EMAIL PROTECTED] > Subject: How to get session attributes in XSL > Is it posible to get session attributes in an XSL? The short answer is yes.

How to get session attributes in XSL

2003-02-17 Thread Xavier RODRIGUEZ
Hello! Is it posible to get session attributes in an XSL? My goal, is to customize a menu depending on the role attribute store in the session. Now I'm using a stylesheet with to get the menu configuration. So, in order to customize this file, I need to get a session attribute from the se

The cocoon-sandwich-use-case(was :Session managing problem)

2003-02-12 Thread SAXESS - Hussayn Dabbous
;%> 3.) there is no hidden flow between webapp and browser, i.e. no COOKIES You can get around by using the "http:" ptocol handler coming with cocoon. I name this "poor man's scenario", because you simply get it for free and can set it up in two minutes. But if

Re: Session managing problem

2003-02-11 Thread arturl
es. > 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) implemented a new protocol handler for this > purpose. > > more info -> send me a note > hussayn > >

Re: Session managing problem

2003-02-11 Thread SAXESS - Hussayn Dabbous
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 a

Antwort: Session managing problem

2003-02-11 Thread manfred . weigel
you are able to modify the jsps, then you can fill in the needed sessioninformation by converting it to XML and add it to the rest of your xml. By using the WriteDomSessionTransformer you can add this XMLpart to your http session on your cocoon machine, and reuse it with the

Session managing problem

2003-02-11 Thread Nesto
Hi!   I have a problem with the session managing. I'm trying to write a user interface of an existing system using cocoon as publishing framework. The system is composed of a set of JSPs that generates xml data from a database. So the pipelines in the sitemap I wrote are all of this

Re: AW: Accessing named session attributes in XSP?

2003-02-10 Thread Derek Hohls
d each XSP creating a new session?   Thanks Derek >>> [EMAIL PROTECTED] 10/02/2003 08:20:53 >>>hi derek,could you tell me please how the XSP is accessed? the problem might be thatyour XSP is dealing with a different session (XSPs default to creating a newsession).> -Ursprunglich

AW: Accessing named session attributes in XSP?

2003-02-10 Thread Marco Rolappe
hi derek, could you tell me please how the XSP is accessed? the problem might be that your XSP is dealing with a different session (XSPs default to creating a new session). > -Ursprungliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Im > Auftrag von

Accessing named session attributes in XSP?

2003-02-10 Thread Derek Hohls
I know I am missing something *very* obvious, but I have "end of day" stare here, and cannot figure what mistake I am making. I am using the Database Authenticator to process a login - the user ID is stored in a session attribute called "userrname" The auth.xml used

Re: AW: Session problems

2003-02-07 Thread Roberto Cipollini
r > url rewriting based sessions, this appends the ';JSESSIONID=...' to the url. > so, not doing this causes losing the session then. > > so what can you do? from the top of my head two ideas: > > 1. let cocoon handle the JSPs > 2. deliver the parameters (username/pw) vi

AW: AW: Session problems

2003-02-07 Thread Marco Rolappe
> -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Im > Auftrag von SAXESS - Hussayn Dabbous > Gesendet: Donnerstag, 6. Februar 2003 21:07 > An: [EMAIL PROTECTED] > Betreff: Re: AW: Session problems > > > If your servlet runs

AW: AW: Session problems

2003-02-07 Thread Marco Rolappe
hi roberto, please see bottom of mail. > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Im > Auftrag von Roberto Cipollini > Gesendet: Freitag, 7. Februar 2003 10:16 > An: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Betreff: Re:

Re: AW: Session problems

2003-02-07 Thread Roberto Cipollini
stored in the myvh dir there's this fragment code: So, after all, do you think i cross? I don't know if this call/over-call procedure is fine and if this is the cause of my se

Re: AW: Session problems

2003-02-06 Thread SAXESS - Hussayn Dabbous
hy, i would like to understand, in which context your servlet is running. Is it located within the cocoon webapp, or is it located elsewhere? from the redirect url i guess you are crossing webapplications ... If this is the case, you have another problem with session preserving over multiple

AW: Session problems

2003-02-06 Thread Marco Rolappe
hi roberto, the reason why your elements are empty probably are the following; the session accessed in your XSP might be different from the JSP's session. since you redirect without url encoding the redirect url, the session probably doesn't survive the redirect. now in the XSP you didn

Session problems

2003-02-06 Thread Roberto Cipollini
Hi. I have a problem with a jsp page and a cocoon page. I use jsp to simply check a user/password and if all is right then set some variables in the session.setAttribute. I then redirect the user to a cocoon page in wich i should grab the session variable with some xsp-logic commands buti

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
econd solution. Of course, I have in project to have a deeper understanding of what goes on under the hood with actions, but a little bit latter. AFAIK, this concept is not really simple to figure out... The solution you suggested to me works well, thanks: http://apache.org/xsp"; xmlns:xsp-ses

Re: xsp session logicsheet

2003-02-05 Thread Christian Haul
On 05.Feb.2003 -- 04:53 PM, Cyril Vidal wrote: > I think I'm on the point of being successful with my business. > But I still have one question, considering the following short code and > especially the uncommented snippet: (serves to retrieve and display all the > items of th

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
I think I'm on the point of being successful with my business. But I still have one question, considering the following short code and especially the uncommented snippet: (serves to retrieve and display all the items of the current session) http://apache.org/xsp"; xmlns:xsp-ses

Re: xsp session logicsheet

2003-02-05 Thread Christian Haul
On 05.Feb.2003 -- 02:56 PM, Cyril Vidal wrote: > Hello Christian, > > Thanks again for your help and your availibility. > Of course, I meant Session logicsheet and not ESQL one...Sorry... > I've tried to launch the code you've suggested: > > > >

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
Hello Christian, Thanks again for your help and your availibility. Of course, I meant Session logicsheet and not ESQL one...Sorry... I've tried to launch the code you've suggested: http://apache.org/xsp"; xmlns:xsp-session="http://apache.org/xsp/session/2.0";

RE: xsp session logicsheet

2003-02-05 Thread FULEK Roman
Hi Cyril, you do not have to use actions if you do not want :-) As I said, when you use session namespace, there is always a variable session there in the generated java code. You can access this session either directly in xsp page from within tags, or you can write your own taglib. This taglib

Re: xsp session logicsheet

2003-02-05 Thread Christian Haul
te with the ESQL logicsheet? It sounds odd... Er, no. But you probably didn't mean ESQL anyway. You need to do it as you did it before: retrieve the value, add a new element to it and then store it again. > > > // Cart items are maintained in the session object. > &g

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
Hi Roman, Indeed I've done this: http://apache.org/xsp"; xmlns:xsp-session="http://apache.org/xsp/session/2.0"; xmlns:xsp-request="http://apache.org/xsp/request/2.0"; create-session="true"> The list of items is: Your session was created:

RE: xsp session logicsheet

2003-02-05 Thread FULEK Roman
Hi Cyril, try adding xmlns:session="http://apache.org/xsp/session/2.0"; namespace to your xsp page. Then have a look at the generated code. Basically you should see a java variable (object) named "session", with it you can do what you want. No need to declare it, cocoon do

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
't use an action, I think it's better not to have too much Java code > in your xsp-pages. > In an action you can take your code as it is. > Cheers > Beat > > > Hi, > > > > I would like to deal with session through xsp, and serve as far as > > possible

Re: xsp session

2003-02-04 Thread Beat De Martin
Hi Cyril Why don't use an action, I think it's better not to have too much Java code in your xsp-pages. In an action you can take your code as it is. Cheers Beat > Hi, > > I would like to deal with session through xsp, and serve as far as > possible > the same goal as w

xsp session

2003-02-04 Thread Cyril Vidal
Hi, I would like to deal with session through xsp, and serve as far as possible the same goal as with the following servlet: e.g put all the parameters named 'item' in the object of type Vector 'items' bound to the current session, so that it would be possible to list at any t

how to access user-session context data in the sitemap

2003-02-04 Thread Stefan Schneider
m the sunLet configuration (i dont think you can change the resource url for a sunLet at runtime?). So: how i can put a block parameter in a filter transformer from a session context i.e. block="{cocoon:/}"? I know how to work with sunShine formulars to set and retrieve context nodes. P

[2.1dev] need writable DOM in session attribute with Saxon

2003-02-03 Thread Timothy Larson
I have both Cocoon-2.0.4 and Cocoon-2.1dev configured to use both Xalan and Saxon-7.3.1. Using the WriteDOMSessionTransformer in: Cocoon-2.0.4 gives me a DOM of class "org.apache.xerces.dom.ElementImpl" Cocoon-2.1dev gives me a DOM of class "net.sf.saxon.tinytree.TinyElementImpl" I need to be

AW: AW: Accessing session variables in the sitemap.xmap

2003-01-31 Thread Marco Rolappe
hey heiko, see comments inline > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Im > Auftrag von Heiko Milke > Gesendet: Samstag, 1. Februar 2003 01:32 > An: [EMAIL PROTECTED] > Betreff: Re: AW: Accessing session variables in the sit

Re: AW: Accessing session variables in the sitemap.xmap

2003-01-31 Thread Heiko Milke
Hello Marco, thank you very much for your reply. It is a bit irretating that you can't read something from the session that was set to it earlier in a serverpage (while working on the same request) but i'll have to live with it. Now I wrote an action that does the talking to the sess

AW: Accessing session variables in the sitemap.xmap

2003-01-31 Thread Marco Rolappe
hi heiko, please have a look at: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16246 this explains why the session created in an XSP is not visible later in the pipeline (being created after pipeline setup). you could create your session within your XSP if you override the generator&#

  1   2   3   4   5   >