sorry for hijacking this thread, but where do you get 4.0.3 from? i thought the 
current version is .2?! 

-----Ursprüngliche Nachricht-----
Von: Miguel Angel Hernández [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 7. März 2007 00:23
An: Tapestry users
Betreff: Re: Tap 4.0.3 HttpSession and WebSession

Renat Thanks a lot,

Unfortunately I've already tried those... but it's not working. I'm using
Geronimo as AppServer... maybe it's the configuration of my realm or
something...

I'll make you know if I find out what is it.

regards,

migs

On 3/6/07, Renat Zubairov <[EMAIL PROTECTED]> wrote:
>
> You can try to use Restart service. It should be pretty simple to call
> a restart service via service link.
> Otherwise you can have a look to the
>
>
> http://tapestry.apache.org/tapestry4/tapestry/hivedocs/module/tapestry.globals.html
>
> For example you can get a request injected to your Hivemind services.
> Or via WebRequest you will get a WebSession
>
>
> http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/web/WebRequest.html#getSession(boolean)
>
> There you will find exactly what you are looking for :)
>
>
> http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/web/WebSession.html#invalidate()
>
>
>
> On 06/03/07, Miguel Angel Hernández <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > Anybody knows how I can access the HttpSession from tapestry... I found
> > RequestCycle: getRequestContext():getSession()... but its
> > deprecated.
> >
> > I need to invalidate the session in order to logout from JAAS realm,
> I've
> > tried WebSession():invalidate() but it doesn't work :(
> >
>
>
> --
> Best regards,
> Renat Zubairov
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to