Results 1 to 4 of 4

Thread: Determine path of page **Resolved**

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member vbud's Avatar
    Join Date
    Jan 2002
    Location
    Mru 20 17S, 57 33E Goal: Get out of the BOX Status: In The Shadows!!! Target Posts: 3,000,000,000
    Posts
    378

    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
    >!v!<
    Free your mind, stop thinking
    http://inspirone.blogspot.com

    Please rate this post if it helped you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width