 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Blaise Guest
|
Posted: Sun Mar 04, 2007 2:32 am Post subject: ISAPI - forcing default page and restricting other actions.. |
|
|
I have an ISAPI dll in Delphi-5. There are 3 actions defined.
Action1: Login (Default, no path)
Action2: Page1 (path = /Page1)
Action3: Page2 (path = /Page2)
(Access samples - webapp is default loading document)
(a) HTTP: //svrname/
(b) HTTP: //svrname/webapp.dll/Page1
(c) HTTP: //svrname/webapp.dll/Page2
Question-1:
I want to allow access using (a) but prevent direct access to (b) and (c).
As long as the path property is defined for each action, those pages can be
directly accessed. Is there a way to "fire" the actions manually if the path
properties are left blank? (via BeforeDispatch event?)
Question-2:
If browser back/forward buttons are used to navigate through page memory, is
there an elegant way to prevent re-access if the Login page is re-displayed
via back/forward buttons -- essentially, I want to require a re-login if
they "pass-over" the login-page and try to navigate back in.
Any help greatly appreciated...
Blaise |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|