ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 6th, 2003, 04:43 PM
siu99pl siu99pl is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: france
Posts: 2 siu99pl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old November 8th, 2003, 11:34 AM
Itamar Itamar is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 6 Itamar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
how d'you store the permissions for the access?

Reply With Quote
  #3  
Old November 8th, 2003, 07:20 PM
siu99pl siu99pl is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: france
Posts: 2 siu99pl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #4  
Old November 8th, 2003, 11:32 PM
Itamar Itamar is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 6 Itamar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Login issue


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway