Olivier Lefevre wrote: > Is there a way to make BASE2 automatically prompt for > credentials when a user who is not yet logged in clicks > on a link pointing to a restricted-access resource? For > instance the generic URL for an Experiment is > http://localhost:8080/base2/views/experiments/index.jsp?ID=uid&cmd=ViewItem&item_id=29 > where uid is some hash. It seems one can use ID=0 as a > "magic" value once the user is logged in but it fails > the first time. > > What is the best way to handle this problem in the > context of BASE2?
I am not exactly sure what you are looking for... If you supply a URL like the one above BASE is going to ask you for a login and password. The value for ID (eg. 'uid' in the example) can be anything. There is nothing magic with ID=0, but the ID has to be a unique string per user session, so you can't just put a static link to the page within BASE. /Nicklas ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ basedb-devel mailing list basedb-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/basedb-devel