This topic is locked

How to implement 'single login' feature in ASPRunnerPro appl

6/4/2007 11:52:22 AM
ASPRunnerPro Tips and tricks
admin

To implement single login use LoginOnLoad event and the following code:

if Request.ServerVariables("LOGON_USER")<>"" then

SESSION("UserID") = Request.ServerVariables("LOGON_USER")

SESSION("AccessLevel") = ACCESS_LEVEL_USER

Response.Redirect "..._list.asp"

end if


Replace text in bold with the URL of your application first page.

S
Sheerasheera 1/30/2009

To implement single login use LoginOnLoad event and the following code:

Replace text in bold with the URL of your application first page.


How do we give access rights to different level users using the single sign on method?

hichem 6/15/2009

Would this still work the same for the latest ASPR 6.1 please?

Thanks

M
manan 9/9/2009

I tried this method and it worked very well and is easy to implement.
But as Sheera mentioned,

  1. How do we give access rights to different level users using the single sign on method?

    I discovered the Admin rights were removed for selected users.
  2. Also, how do we load sessions such as:

    Session("name") = rs("name")

    Session("address") = rs("address")
    Please help.
    Thank you.