Use of @name on web

i am using the following code in the client and its working fine…

database := @Subset(@DbName; -1);

server1 := @Name([CN]; @Subset(@DbName; 1));

but when i use the above code in the web,its not working as per my requirement…

so what can be the alternative…

thanks in Advance…

Subject: use of @name on web…

On the web the value for the server is an empty string, because it’s run on the server (local).

Martin Vereecken

http://www.bizzybee.be

Subject: use of @name on web…

Also, you still left us with the question, what your requirement actually is.

If you need the Domino server name (not the internet host name), @ServerName should work, even in web applications.