Sorry that I should explain clearly. I always restart webapp when development. So session will be clear, and I always have to login again.
What I want, is to save the username & session id in cookies, so that I need not to login again. Instead the page can load cookies and create another session. How to do this in tapestry? Eric Tan --- Paul Ferraro <[EMAIL PROTECTED]> 撰寫: > I'm not sure what you mean... If your application > server is configured > to use cookies instead of forcing a session ID in > the url, then if a > logged in user closes his/her browser without > logging out, and then open > their browser again, the existing cookie will still > be valid and the > user's session will automatically be recognized by > the app server. > If a user logs out, then the user's cookie will > refer to an invalid > session. You wouldn't want an invalid session to be > re-validated > automatically, would you? > > Paul > > Eric Tan wrote: > > >Hi All, > > > > How can load cookies using tapestry & restart a > >session? > > > > Would you please show some code here? > > > >Thanks & regards, > > Eric Tan > > > >__________________________________ > >想即時收到新 email 通知? > >下載 Yahoo! Messenger > >http://messenger.yahoo.com.hk/ > > > >--------------------------------------------------------------------- > >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] > > __________________________________ 想即時收到新 email 通知? 下載 Yahoo! Messenger http://messenger.yahoo.com.hk/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
