navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Spooky Login - Desperate!

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Spooky Login - Desperate!
Page: [1]
 
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


(in reply to kevin1000)
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


(in reply to kevin1000)
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.com

Thanks
Kevin


(in reply to kevin1000)
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
......


(in reply to kevin1000)
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


(in reply to kevin1000)
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!

(in reply to kevin1000)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Spooky Login - Desperate!
Page: [1]
Jump to: 1





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