Accessing other URL

Results 1 to 2 of 2

Thread: Accessing other URL

  1. #1
    Vijay Patel Guest

    Default Accessing other URL

    I have my application running at http://someserver/someapp. In normal execution path user can go to http://someserver/someapp/some.asp . But user can directly to that URL there by typing whole URL and bypassing all authentication. Please let me know how we can prevent user going directly to that URL. <BR><BR>Thanks<BR>Vijay

  2. #2
    Ashish Mishra Guest

    Default RE: Accessing other URL

    You can define a session variable which is initialized in the session_onstart event and then each time the user accesses any other page other than the logon screen, you check that session variable, if it is empty, dont just allow the user to access that page. Define this session variable in the global.asa file.<BR>Simple isnt it.

Posting Permissions

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