I've tried it out, but the session doesn't seem to be shared among modules, is it correct that I set CreateSession to true for all modules?
Please try the updated project (attached). The authentication is handled by ModAuth, but the login form (or welcome message + logout link) is handled by ModLayout. The login form would change to welcome message + logout link only if module in the uri stays in 'auth', where it's supposed to change as long as the session hasn't expired. http://free-pascal-general.1045716.n5.nabble.com/file/n5604218/tkd1depok.zip tkd1depok.zip -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Request-redirection-login-session-in-fpweb-tp5602126p5604218.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal