that depends on how you log in the user. if it's server side, you probably need to do an AJAX request. if you put the username in a cookie, you should get that without problems.
I will explain you my problem.
I am having one app which is uploading doc using .net's impersonation functionality and using \\<path>. the code is working fine as everything is on the same .cs file. Now when i am trying to open the saved document i am using the same impersonation functionality and logging in with same user. but i am getting error while opening the doc it is asking me username/pwd which is not happening for uploading.
code for opening the doc is on .js file and using http://<path> to read the file.
Hi,
Can you please help me on how to pass the service account's username and password with the url? After that will server stop opening the prompt to enter uname and password?
my path is like this
http://abc.abc.abc.abc/test/<path of the file>
how to append uname pwd with this?
Hi,
I am not that good in js so do i have to write the domain name also?
e.g.
http://<uname_xyz>:<pw d_abc>@<server_ name>/<file path>
Where to write the domain name there?
we have diff domains name for diff regions
e.g em,apj,am
Comment