FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
Windows environment: error Networkuser() function not allowed in Linux ?
Windows environment: error Networkuser() function not allowed in Linux ?
Iniciado por Stef, 08,mar. 2013 11:06 - 2 respuestas
Conéctese…
Stef
#1
Miembro registrado
45 mensajes
Publicado el 08,marzo 2013 - 11:06
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
Informar
0
0
Stef
#2
Miembro registrado
45 mensajes
Publicado el 08,marzo 2013 - 11:10
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.
Informar
0
0
Piet van Zanten
#3
Miembro registrado
17 mensajes
Popularité : +1 (1 vote)
Publicado el 08,marzo 2013 - 13:31
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
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto