CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Login ONE Site and not Another ONLY

Print topic Send  topic

Author Message
Paul
Posted: 12/13/2002, 4:53 AM

Hi There
I've got a problem which was somewhat covered by Ron Borkent:
http://gotocode.com/disc_viewt.asp?mid=6082&s_topic=login&

I am however not sure whether it cures the problem I have and maybe Ron or someone else can help me out.

If a person logs in on one Site ie. Department A with access level 2, he gets access to Department B with Access level 2. With the suggestion of Ron, I think the person still gets access to Department A website AND Department B website if he KEEPS his browser OPEN and opens the website of Departmet B. He then gets access to Department B with the same level he got when logging in on the Department B website.
Am I confused or will the suggestion of Ron really help?
Or is there a better/easier method?

Can this method also be used to allow users to only edit specific records?
IOW, One user enter a record, give another user the correct password and then that user can also edit that specific record. So every record gets a password?


regards
paul

Timmy
Posted: 12/13/2002, 9:35 AM

The Login and security mechanism mainly revolves around the Login function in the Login page and the CheckSecurity() function in the common.asp file. You can write a custom Login event in the Login form and set custom names for the session variables for each site e.g. departmantAUserID, departmentBUserID, etc. Then you can change the checksecurity function to check to the custom session variable instead of the generic UserID.
Paul
Posted: 12/13/2002, 11:50 AM

Hi Timmy
Thanks , I'll try it this way.

regards
Paul


Quote from Timmy:
The Login and security mechanism mainly revolves around the Login function in the Login page and the CheckSecurity() function in the common.asp file. You can write a custom Login event in the Login form and set custom names for the session variables for each site e.g. departmantAUserID, departmentBUserID, etc. Then you can change the checksecurity function to check to the custom session variable instead of the generic UserID.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.