Hi,

The problem is that I have a page that I'd like users to be able to
access with or without a session. This works fine, but calling
getVisit() on that page returns null whether or not the user
previously had an accessible visit object. Once a user has been to that
page, calls to getVisit() from *any other page* also return null,
again regardless of whether a visit object was previously accessible.

Thanks
Mike Davis



On Thu, 3 May 2007 04:50:29 +0300
"Andreas Andreou" <[EMAIL PROTECTED]> wrote:

> not, that's not correct... session is not invalidated when clicking
> on a DirectLink having the stateful flag set to false
> 
> What exactly is the problem you're facing?
> 
> On 5/3/07, Mike Davis <[EMAIL PROTECTED]> wrote:
> >
> > Hi all,
> >
> > I've been asked to do some work on a Tapestry 3 application
> > (unfortunately I can't upgrade it!) and I'm struggling with a
> > DirectLink/session issue. I would like to allow our users to
> > access certain pages without session, yet still be able to return to
> > pages that require a session, without losing any stored state.
> >
> > Is it possible to create a Tapestry app that allows a user to do the
> > following?
> > - open a page that creates and uses a visit object
> > - click a DirectLink with the stateful flag set to false
> > - go back to the first page and use the original visit object again
> >
> > Is it correct to say that once a DirectLink is clicked with the
> > stateful flag set to false, any session data associated with that
> > user's session is invalidated?
> >
> > Thanks
> > Mike Davis
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 

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

Reply via email to