PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Windows environment: error Networkuser() function not allowed in Linux ?
Windows environment: error Networkuser() function not allowed in Linux ?
Started by Stef, Mar., 08 2013 11:06 AM - 2 replies
Connect yourself…
Stef
#1
Registered member
45 messages
Posted on March, 08 2013 - 11:06 AM
Hi,
Another issue when migrating a project from WinDev 17 to WebDev 17. The debugger refuses the function NetworkUser() stating that it is not allowed in Linux ???
I am working in a 100 % Windows environment though.
Anyone knows how to fix this ?
Stefan
Report
0
0
Stef
#2
Registered member
45 messages
Posted on March, 08 2013 - 11:10 AM
I forgot to add that I checked in the help pages where it is indicated that this function should work in WebDev server processes. My code is in a serverprocess though.
Report
0
0
Piet van Zanten
#3
Registered member
17 messages
Popularité : +1 (1 vote)
Posted on March, 08 2013 - 1:31 PM
Hi Stef,
Many things need a completely different approach in a web based application.
Remember that in Webdev there are two "environments" one in the browser and one on the server. So NetworkUser unlike in Windev will only return the current user on the server. Which is the name of the system user that runs the webserver service.
On a Linux server this command probably does not work. Knowing the name of the system user is of no use to you anyway.
You will never be able to find out the network user on the local machine.
Instead of the nerkwork user you need to switch to a login name to identify your users. Or use the users IP, but this will be the same for users that connect from a local network.
Regards,
Piet
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text