how to implement login access

2014-03-09 Thread nn kk
 Hi, I want to create login page and validate the login against my db, which is 
easy and I have already implemented. But, how could I restrict the access to 
some pages if user is not verified, as it is possible to access some page by 
just writing ../pageName in the url?

Thanks in advance!

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: how to implement login access

2014-03-09 Thread Geoff Callender
Here's one way:


http://jumpstart.doublenegative.com.au/jumpstart/examples/infrastructure/protectingpages

Here's the equivalent for T5.4:


http://jumpstart.doublenegative.com.au/jumpstart7/examples/infrastructure/protectingpages




On 9 March 2014 21:53, nn kk inv...@abv.bg wrote:

  Hi, I want to create login page and validate the login against my db,
 which is easy and I have already implemented. But, how could I restrict the
 access to some pages if user is not verified, as it is possible to access
 some page by just writing ../pageName in the url?

 Thanks in advance!

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




RE: Persist object fails

2014-03-09 Thread Trimech, Fethi
Thank you all for your answers.
After querying for the jsessionid value it  is found that we have a new value 
per request. And that seems to break the persist mechanism at the tomcat level.
We will go for a solution to change this behavior. And check afterwards.

Thank you all!