|
| |
|
|
kevin1000
Posts: 60 From: allen park, mi, usa Status: offline
|
Spooky Login - Desperate! - 4/11/2001 23:04:00
Spooky, Everyone that I entered into the system with a access level of 4 can't get into the pages that have this on top: <% Response.buffer=True If Session("AccessLevel") < "4" Then Response.redirect "/login.asp?Redirect=" &Request.Servervariables("URL") End if %> I get this everytime: "Your details were not found" When I login as myself,access level of 6, there is no problem. I've even changed one of the users to a 6 and get the same error. Help. Thanks Kevin
|
|
|
|
Spooky
Posts: 26606 Joined: 11/11/1998 From: Middle Earth Status: offline
|
RE: Spooky Login - Desperate! - 4/11/2001 16:05:00
Try this one :If Trim(Session("AccessLevel")) < "4" Then
|
|
|
|
kevin1000
Posts: 60 From: allen park, mi, usa Status: offline
|
RE: Spooky Login - Desperate! - 4/11/2001 20:57:00
Spooky, That didn't work. Here is some more info. Some users work and some dont. This one does: amiller / 155983 and this one doesn't ajackson / 290109. Both have a level 4 and both have admin=false. Email me if you dont remember the web site address so you can try the above. I have tried different combinations even in the settings side like lowering the min user name size to 3. Increasing peoples access level to 6.Help. Thanks Kevin
|
|
|
|
kevin1000
Posts: 60 From: allen park, mi, usa Status: offline
|
RE: Spooky Login - Desperate! - 4/11/2001 21:00:00
Boy am I stupid...my email address is kbrogan@home.comThanks Kevin
|
|
|
|
Spooky
Posts: 26606 Joined: 11/11/1998 From: Middle Earth Status: offline
|
RE: Spooky Login - Desperate! - 4/11/2001 21:24:00
Ahh, because its numeric, and you want to use the <> operators, do this instead :AccessLevel = Session("AccessLevel") If AccessLevel = "" then AccessLevel = 0 If AccessLevel < 4 Then ......
|
|
|
|
kevin1000
Posts: 60 From: allen park, mi, usa Status: offline
|
RE: Spooky Login - Desperate! - 4/11/2001 22:51:00
This is the way it looks now: <% Response.buffer=True AccessLevel=Session("AccessLevel") If AccessLevel="" Then AccessLevel=0 If AccessLevel < 4 Then Response.redirect "/login.asp?Redirect=" &Request.Servervariables("URL") End if %> And this login doesn't work: ajackson/290109 Email me if you want the web site so you can see it in action.Kevin
|
|
|
|
Spooky
Posts: 26606 Joined: 11/11/1998 From: Middle Earth Status: offline
|
RE: Spooky Login - Desperate! - 4/12/2001 17:37:00
On the way!
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|