Hi,
I have just had a chance to look at a project I started at least 12 months ago created in version 7 and then version 8. It was working relatively well, but I had to put it to one side due to other work commitments. I have since upgraded to v9 and thought I should pull my finger out and get it up and running again. Unfortunately the table filtering that was based around the A5 Security framework doesnt function when I publish it from V9! (works fine from v8).
Its nothing special, all I have done is set up session variables for the use ID and user groups, and use a dialogue form to select the group (from the multiple available to that user) to filter tables etc. (by using an argument to point to the session variable).
In the profiles application variables I have set the following
This should have allowed me to use the session variables as part of the filter arguments.
I tried recreating the components from scratch in a new project, but the same thing happens (basically no user id/group is found and the filters turn up blank).
I then just took some code directly from the help file and put it in an include file just to check it was reading in the logged in values, and it still comes up blank!
I know its been a while since I have attempted to use the Web app side of A5 so I concede I am probably doing something very stupid!
I also note that when publishing from V9 the default url no longer works, it uses my pc name rather than localhost, the old project used to have a section I could specify the ip address of the server, the v9 profile seems much more streamlined!
I have just had a chance to look at a project I started at least 12 months ago created in version 7 and then version 8. It was working relatively well, but I had to put it to one side due to other work commitments. I have since upgraded to v9 and thought I should pull my finger out and get it up and running again. Unfortunately the table filtering that was based around the A5 Security framework doesnt function when I publish it from V9! (works fine from v8).
Its nothing special, all I have done is set up session variables for the use ID and user groups, and use a dialogue form to select the group (from the multiple available to that user) to filter tables etc. (by using an argument to point to the session variable).
In the profiles application variables I have set the following
Code:
session.usergroups = "UNKNOWN" session.userid = "UNKNOWN"
I tried recreating the components from scratch in a new project, but the same thing happens (basically no user id/group is found and the filters turn up blank).
I then just took some code directly from the help file and put it in an include file just to check it was reading in the logged in values, and it still comes up blank!
I know its been a while since I have attempted to use the Web app side of A5 so I concede I am probably doing something very stupid!
I also note that when publishing from V9 the default url no longer works, it uses my pc name rather than localhost, the old project used to have a section I could specify the ip address of the server, the v9 profile seems much more streamlined!
Comment