Server name on web

i want to find out the server name for current database in a web app. As far as the forms are concerned there is no issue as i can create a field having CGI var (server_name) and use it.

but what if i want to do the same in a page? how can i find the server name as there are no fields on pages?

thanx in advance…

Subject: server name on web

@ServerName maybe. Computed text will help you display the name of the server.

Subject: server name on web

Mayby @GetHTTPHeader(“Host”) in a computed text.

I don’t use pages.

I build a form with all fields I need and I call it with the ?readform command.

Subject: RE: server name on web

?ReadForm? Make it easier on yourself:

http://www.codestore.net/store.nsf/unid/EPSD-4SWP67?OpenDocument

You can then use a form as your opening page, since Domino believes it’s opening a navigator – and your home-made links can be cleaner because you don’t need to use a query string in a lot of cases (great for javascript “files” and so on).

Subject: server name on web

@GetHTTPHeader(“Host”) – you can use that in the HTML Head, in computed text, or what have you.