Auto Login |
8/13/2008 18:07:40 | |
| ASPRunnerPro General questions | ||
|
My website already has an existing login system (outside of ASPRunner). Using ASPRunner, I created my new project and with it created a login page. I selected the "Username and password from database" option, then selected the table that controls my existing login system. This way I control users globally, in one location for both my entire website and ASPRunner projects. |
||
|
J
|
Jane 8/14/2008 |
|
Hi, |
|
|
|
jadach authorDevClub member 8/14/2008 |
Hi, you can check your session variables in the Login page: Before process event on the Events tab, fill ASPRunnerPro session variables and redirect to the list or menu page. Here is the list of ASPRunnerPro session variables: http://www.xlinesoft.com/asprunnerpro/docs...n_variables.htm
|
|
|
J
|
Jane 8/15/2008 |
|
Hi, if Request.ServerVariables("LOGON_USER")<>"" then Session("UserID")= Request.ServerVariables("UserID") Response.Redirect "HR_ChangeStatus_list.asp" end if |
|
|
|
jadach authorDevClub member 8/15/2008 |
Hi, please check list of SESSION variables more carefully. For example here is the correct code:
|
|
|
J
|
Jane 8/18/2008 |
|
Hi, |
|
|
|
jadach authorDevClub member 8/18/2008 |
Hi, use User can see and edit their own records only security method on the Advanced security settings dialog on the Security tab. Then set up all required session variables (for example Session("_" & strTableName & "_OwnerID"), Session("OwnerID")) on the Login page: Before process dialog.
|
|
|
J
|
Jane 8/19/2008 |
|
Hi, OR can I set up the login via asprunner and check off "User can see and edit their own records only", then bypass the login screen due to the fact the user is already logged in via my login system?
|
|
|
|
jadach authorDevClub member 8/19/2008 |
Hi, Yes. Please see sample code in the previous messages. If it doesn't help publish your project on Demo Account and send to support@xlinesoft.com a URL to your pages along with your instructions.
|
|
|
J
|
Jane 8/20/2008 |
I see I am logged in as 1 and I can't view any records at all.
|
|
|
|
jadach authorDevClub member 8/20/2008 |
|
This means you have not filled all required session variables in your event. Please publish your project on Demo Account and send to support@xlinesoft.com a URL to your pages along with your event code and I'll try to help you.
|
|