Re: general use along with logon admin to content
Re: general use along with logon admin to content
- Subject: Re: general use along with logon admin to content
- From: Wes James <email@hidden>
- Date: Wed, 13 Oct 2004 16:26:15 -0600
Is there a way to send parameters like user=admin to a woa like this
"http://host/cgi-bin/app.woa?user=admin"?
I have been looking for code that will grab environment variables. I
have found this
# found in yahoo groups:
http://groups.yahoo.com/group/webobjects-newbies/message/999
WORequest r = context().request();
NSArray possibleHeaders = r.headerKeys();
String str = "";
for (int i=0; i<possibleHeaders.count(); i++) {
str = (String)possibleHeaders.objectAtIndex(i);
System.out.println("possible headers: " + str + " Value: " +
context.request().headerForKey(str));
}
to get me part of the info, but is there a way to get the var/value
pairs with some other wo method?
wj
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden