Richard
|
Posted: 05/29/2001, 6:17 AM |
|
Hi everyone
Okay, I have tried and tried to tried to get this fscking
thing to work off and on since Friday, but to no avail.
Connecting to a MySQL server on FreeBSD (ODBC link works fine).
Using Perl.
I have a login page. It authenticates against the database ok.
I know this, because when I try a wrong password or user, it
gives me a failed login.
I have 2 forms. "Login" and "Welcome". Details copied exactly
from worked example "Portal.ccs". Yes exactly. Not including
exact same table column names stupid!
I want to login and have it say "hello user_X" or whatever. Just
to recognise and pass my session info from login form to record
form. I cannot get this working.
When I successfully authenticate against the database, it takes
me to http://URL_HERE/.cgi?querystring=&ret_page=%2fWelcome%2ecgi
This is wrong. As I understand it, it should take me to http://URL_HERE/Welcome.cgi?session_id_or_something_here
My security level id is stored as an INT with value=3. I assume
that this is equilavent to "high" security. Does not matter,
when I remove security level's, Login.cgi takes you to the same
URL anyway.
</rant>
Sorry, but I have been trying to get this working since friday,
and it has driven me COMPLETELY round the bend !
Help ?
Oh ya.... you codecharge guys rock! REALLY nice product (or, it
will be when it gets some decent docs, and I can figure out how
to use it :\
-Bye
-Richard
|
|
|
CodeCharge
|
Posted: 05/29/2001, 1:17 PM |
|
This may possibly happen when:
a) The user_id in your user table is not a numeric or not an autoincrement
field
b) Wrong fields are assigned in the Security section of CodeCharge site
properties. You
should select a numeric, autoincrement field as Primary Key and text fields
for login and password.
c) Your system is unable to save session information. For example "tmp"
directory is missing. This is usually an issue with PHP setup, not sure
about Perl.
Does Portal example work correctly ?
Could you email your project file (.ccs) to support@codecharge ?
Thanks,
Adam S.
CodeCharge Support
"Richard" <richard@millinfo.co.za> wrote in message
news:3B13A1BD.1D6E24D7@millinfo.co.za...
> Hi everyone
>
> Okay, I have tried and tried to tried to get this fscking
> thing to work off and on since Friday, but to no avail.
>
> Connecting to a MySQL server on FreeBSD (ODBC link works fine).
> Using Perl.
>
> I have a login page. It authenticates against the database ok.
> I know this, because when I try a wrong password or user, it
> gives me a failed login.
>
> I have 2 forms. "Login" and "Welcome". Details copied exactly
> from worked example "Portal.ccs". Yes exactly. Not including
> exact same table column names stupid!
>
> I want to login and have it say "hello user_X" or whatever. Just
> to recognise and pass my session info from login form to record
> form. I cannot get this working.
>
> When I successfully authenticate against the database, it takes
> me to http://URL_HERE/.cgi?querystring=&ret_page=%2fWelcome%2ecgi
>
> This is wrong. As I understand it, it should take me to
> http://URL_HERE/Welcome.cgi?session_id_or_something_here
>
> My security level id is stored as an INT with value=3. I assume
> that this is equilavent to "high" security. Does not matter,
> when I remove security level's, Login.cgi takes you to the same
> URL anyway.
>
> </rant>
>
> Sorry, but I have been trying to get this working since friday,
> and it has driven me COMPLETELY round the bend !
>
> Help ?
>
> Oh ya.... you codecharge guys rock! REALLY nice product (or, it
> will be when it gets some decent docs, and I can figure out how
> to use it :\
>
> -Bye
> -Richard
|
|
|
|
|