Below are some simplified examples of mapping the AG_USER
server URL macro to Web server directories and files. In these examples, the it is assumed that the Web server's domain is
http://myserver.com
, that this domain maps to the file system path D:\webserver\contentroot, and that you have three user IDs: aasmith
, bjwong
, and ccgomez
.
Different files for different users, in same directory:
Channel URL – http://myserver.com/myapp/AG_USER.asp
Files for different users – D:\webserver\contentroot\myapp\aasmith.htm D:\webserver\contentroot\myapp\bjwong.htm D:\webserver\contentroot\myapp\ccgomez.htm
Different directories for different users, with same file name:
Channel URL – http://myserver.com/AG_USER/myapp.htm
Files for different users –
D:\webserver\contentroot\aasmith\myapp.htm
D:\webserver\contentroot\bjwong\myapp.htm
D:\webserver\contentroot\ccgomez\myapp.htm
User ID passed as parameter to Web application:
Channel URL – http://myserver.com/myapp.asp?id=AG_USER
Files for different users – D:\webserver\contentroot\myapp.asp (The same file, myapp.asp, generates different content when each user ID replaces AG_USER
in the channel URL.)
Send feedback about this page using email. | Copyright © 2008, iAnywhere Solutions, Inc. |