|
-
Oct 10th, 2005, 01:53 AM
#1
Thread Starter
Hyperactive Member
Determine path of page **Resolved**
hi all,
I have several pages in an asp.net application that requires a user to login through a login.aspx webform before being able to access the resources in the application. now my problem is that in each and every aspx page, I need to check if the user has already logged into the system, failing which i need to redirect him to the login.aspx webform. to do so i have implemented a function in a module to check the login status and perform the page redirection. the problem is that the login page is not always the same relative path in respect to the other pages of the application, since most of the pages are found in different sub-folders. So what i need is to be able to obtain the path of the current page that is being run. something like the path of the page relative to the root folder etc. is this at all possible?
thanx all
Last edited by vbud; Oct 12th, 2005 at 12:56 AM.
Reason: Resolved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|