If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > denied access help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-23-04, 23:42
Max30 Max30 is offline
Registered User
 
Join Date: May 2004
Posts: 6
denied access help

hello there?

I i would like to stop accessing my website by directly entering the URL into
browser ,without loging in first.

anyone could help me how to do that and redirect user to log in form.

Thanx !!
Reply With Quote
  #2 (permalink)  
Old 05-23-04, 23:53
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Didn't you just answer your own question??

You check to see if they are logged in and if not do a server.redirect to send them to the log in page....

How do you know your users are logged in?? I assume you use a cookie or session variable or something, so you check that.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On