|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Request.ServerVariables javascript equivalent?
Hi,
I was wondering if there was an equivalent object of Request.ServerVariables (.NET) or $_SERVER["AUTH_USER"] (PHP) for javascript? Thanks. |
|
#2
|
||||
|
||||
|
info
Information about the server is accessed using server-side languages. Information about the client can be accessed using the javascript Navigator Object.
http://www.w3schools.com/htmldom/dom_obj_navigator.asp |
|
#3
|
||||
|
||||
|
One workaround is to get your server side language to write Javascript variables for you.
Quick PHP Example: PHP Code:
__________________
Daryl's Homepage | My Blogroll | My Profile | Firefox supporter! DevArticles Forum Moderator "The net is a waste of time, and that's exactly what's right about it." -- William Gibson |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Request.ServerVariables javascript equivalent? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|