BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ISAPI - forcing default page and restricting other actions..

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General)
View previous topic :: View next topic  
Author Message
Blaise
Guest





PostPosted: Sun Mar 04, 2007 2:32 am    Post subject: ISAPI - forcing default page and restricting other actions.. Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.