|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Login impossible via domain name
I am having problems login into my site
I am using an admin area and a members zone using the same login form. If I do not have the rights to access the admin area I am bounced back to the members area. If I do not have access to the members area I am redirected to the unauthorized access page. The problem is that I cannot access the restricted area of my site at times. The site access seems to work for some people but not for others, using my main domain name address. My domain name host is using a frame to keep the in the Address bar of the browser at all times. This redirect my site to my own web server (IIS 5.1). And if I access my page without using the domain name it works fine. If I access my site from the local address or by typing the IP address it also works fine. any idea how to solve this? Last edited by siu99pl : November 6th, 2003 at 05:25 PM. |
|
#2
|
|||
|
|||
|
how d'you store the permissions for the access?
|
|
#3
|
|||
|
|||
|
permissions
I am using a database which includeds the client information: username, password, and status, which can be either admin, or silver membership. The login checks for the matching user name and password and status. This work fine with my testing server, and for most people but seems to not work with some machines after a certain amount of time of unuse.
I have built a work around which refreshes the login page using a parent window. this reduces the problem by allowing the users to access to the site by suppressing the frame but also gets rid of my domain name in the header. It also means that the users experiencing the problem need to click on an additional link. This is not ideal and I would still like to get this to work properly. |
|
#4
|
|||
|
|||
|
You didn't understand me correctly. How d'you know which user is allowed to view the pages? are you storing a Session variable? if you do, thats your problem, b/c Session varaibles get erased after 20 mins. (usualy) of unuse.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Login issue |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|