Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xml-rpc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
xml-rpc
Commits
9c622664
Commit
9c622664
authored
Jul 11, 2006
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added the employee_random_component
parent
0160bb01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
+43
-0
test_login.tcl
www/test_login.tcl
+43
-0
No files found.
www/test_login.tcl
0 → 100644
View file @
9c622664
# /packages/xml-rpc/www/test_login.tcl
ad_page_contract
{
@author Frank Bergann
(
frank.bergmann@project-open.com
)
@creation-date 2006-07-02
@cvs-id $Id$
}
{
}
set
email
"sysadmin@tigerpond.com"
set
pass
"sys.admin"
set
error
""
set
result
""
set
token
""
set
info
""
catch
{
set login_result
[
xmlrpc::remote_call http://172.26.0.3:30038/RPC2 sqlapi.login -string
$email
-string
$pass
]
set status
[
lindex
$login
_result 0
]
set token
[
lindex
$login
_result 1
]
}
result
append
error
"
$result
\n
"
catch
{
set query_results
[
xmlrpc::remote_call http://172.26.0.3:30038/RPC2 sqlapi.select
\
-string
$email
\
-string
$token
\
-string im_project
\
-int 9718
\
]
}
result
array
set query_result
$query
_results
ad_return_complaint 1
$query
_result
(
project_name
)
append
error
"
$result
\n
"
ad_return_complaint 1
"<pre>token=
$token
\n
info=
$info
\n
error=
$error
</pre>"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment