OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

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

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

 

Spooky Login question

 
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, PHP, and Database >> Spooky Login question
Page: [1]
 
tplowe56

 

Posts: 36
Joined: 11/12/2003
Status: offline

 
Spooky Login question - 8/28/2009 1:50:05   
I'm trying to add a second login using the same DB as per instructions. The original login works fine. I protect 2 levels of web pages using these includes:

<% ON ERROR RESUME NEXT
If cint(Session("AccessLevel")) < 4 Then
Response.redirect "/login/login.asp?Redirect=" &Request.Servervariables("URL")
End if
%>

<% ON ERROR RESUME NEXT
If cint(Session("AccessLevel")) < 3 Then
Response.redirect "/login/login.asp?Redirect=" &Request.Servervariables("URL")
End if
%>

Now when I follow instructions for adding multiple login, users can't access. I can access admin.

Instructions:
For each login, you will need to edit the “a_config.asp” file and modify the following variables:
AppName
The Application name for that login system. All multiple login systems must have unique names.
These values are used to construct all session and Application variables so that uniqueness is maintained.
Each login now has its own Administration area so that different settings can be used.
AppUnique
If using multiple logins, this setting prevents users from one login system accessing another.
The admin still has access to all Administration areas.
AppFilter
If unique Application is set, only show users associated with that login to the administrator.

Do the includes need to be altered?

Spooky

 

Posts: 26681
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Spooky Login question - 9/1/2009 3:30:35   
Depending on what you have done, the includes need altering

eg :
If cint(Session("APPNAMEAccessLevel")) < 3 Then

Where APPNAME is the value you configured in the a_config file

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

Sp:)ky


(in reply to tplowe56)
Page:   [1]

All Forums >> Web Development >> ASP, PHP, and Database >> Spooky Login question
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