Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Server Variables
Doug G
#1 Posted : Wednesday, April 14, 2010 7:04:01 AM(UTC)
Groups: Member
Joined: 4/14/2010(UTC)
Posts: 1
Location: VA

I think I saw an answer to this somewhere but could not find it again. Does the UCWS allow for server variables such as "string userID = Request.ServerVariables["LOGON_USER"]"? If so, is there a set list of available variables and are they similar or the same as with IIS? Thanks.
Ultidev Team
#2 Posted : Wednesday, April 14, 2010 4:02:08 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Doug.

Server variable are web server-specific, and therefore using them makes your application less portable. For sure way to get the the list server variables available is to turn tracing on the page <% @Page Trace=true... %>. Consider using HttpContext.User instead.

Please let us know if this information was helpful.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.