Off the top of my head, you could make a DTML Method and set the "View" permission to Manager (instead of anonymous or acquire permissions). Then, when you create a link to this method, the user will have to authenticate. This is untested, but the method could probably be something like this: <dtml-call "RESPONSE.redirect(HTTP_REFERRER)"> (or maybe it would have to be: <dtml-call "RESPONSE.redirect('HTTP_REFERRER')"> Another option would be to link to the method via a relative URL, then make the method chop the end off of the URL and redirect to that. Kevin -----Original Message----- From: Steen Suder <sfs@sciatl.dk> To: zope@zope.org <zope@zope.org> Date: Monday, September 27, 1999 6:53 AM Subject: [Zope] Force "login"/authentication?
I'd like to have a button on my in my site where managers can login and, thus, get out of the anonymous role.
The link shall not have <a href="manage"> in it. It shall just popup a login box (like entering manage), gets you authenticated and then leave you on the page you came from.