This topic is locked
[SOLVED]

 multiple registration and login system for 3 seperate ta

9/19/2010 07:58:29
ASPRunnerPro General questions
A
arvind author

Respected admin and forum members,
Fisrt off all my ward regards for creating such a amazing application
i hav 3 seperate tables for "Customer", "Dealer" and "Staff"
all 3 tables have userid and passwords fields
I want to create 3 registration system seperately for all "Customer", "Dealer" and "Staff" and also 3 sperate login system
Customers will login via Customer login page, Dealers will login via Dealer login page and staff will logic via staff login page
please guide me too do this

A
arvind author 9/21/2010



Respected admin and forum members,
Fisrt off all my ward regards for creating such a amazing application
i hav 3 seperate tables for "Customer", "Dealer" and "Staff"
all 3 tables have userid and passwords fields
I want to create 3 registration system seperately for all "Customer", "Dealer" and "Staff" and also 3 sperate login system
Customers will login via Customer login page, Dealers will login via Dealer login page and staff will logic via staff login page
please guide me to do this


Dear admin ,
Please help me , i am waiting for your help please

A
ann 9/21/2010

Hi,
there is no easy way to it.

You'll need to create custom login pages.

This task requires a lot of custom coding in the generated files. Unfortunately we don't have a ready to go solution for this.
As workaround you can create three projects (use 'save as' option) and change the login page settings for each.

A
arvind author 9/21/2010

Dear sir
If i use there diffeerent database is there any option to link all the there database and project
Like say a customer logins using his database but h6ow will he link with prodects and orders that is in staff database?

Sergey Kornilov admin 9/22/2010

I would suggest to build a sample application using one database and one user type and post your application to Demo Account. 'Demo Account' button can be found on the last screen in the program.
Then open a ticket at http://support.xlinesoft.com sending your Demo Account URL. This way we can have a better understanding of what you trying to achieve and suggest a solution.

A
arvind author 9/23/2010



I would suggest to build a sample application using one database and one user type and post your application to Demo Account. 'Demo Account' button can be found on the last screen in the program.
Then open a ticket at http://support.xlinesoft.com sending your Demo Account URL. This way we can have a better understanding of what you trying to achieve and suggest a solution.


Thank you very much

R
Roger 9/29/2010



Respected admin and forum members,
Fisrt off all my ward regards for creating such a amazing application
i hav 3 seperate tables for "Customer", "Dealer" and "Staff"
all 3 tables have userid and passwords fields
I want to create 3 registration system seperately for all "Customer", "Dealer" and "Staff" and also 3 sperate login system
Customers will login via Customer login page, Dealers will login via Dealer login page and staff will logic via staff login page
please guide me too do this


I've had an occasion where I needed to do this, here is what you can try:

On you Login page, add some code to trap a login error to your first DB (let's say Customers), if that fails, use a SQL script to login to the next table, if that fails try the same thing with the last table.
Now if it fails, abort the login. At any point in the login scripting, if the login is successful set the appropriate Session Variables for UserId, LoginID or whatever you need and carry on. And all should be fine, I've done this a few times in the past.
Having said this, I reworked on project to put a Radio Button onto the Login Screen that chose the table to login to. In the login script, I checked the radio button value and logged into the appropriate database.
In another similar project, I put a Drop Down on the login page that allowed the user to select the campaing (in your case table) and accomplished the same thing. A little coding, but it worked just fine.
Hope these help.