Obtain URL From ASP

I need to obtain the domain from server side code.

Request.Servervariables("URL") doesn't work well... it miss the domain name.

I tried to use the WScript.NetWork object but the domain is not visible.

View Replies


ADVERTISEMENT

Obtain This Format Hh:mm:ss.fff

how to obtain and output that format ( hh:mm:ss.fff ) in my ASP.

View Replies View Related

Obtain Users IP Address

How does one capture the IP address of the user ....and...is there anything 'unique' you can do with this info besides knowing the ip number of his domain/browser?

View Replies View Related

Dynamically Obtain Include Files

I'm trying to build a part of an application that will use an include file based on a user's selection (still in ASP 3.0!). Their selection is stored in a database. I've tried using variables as either the entire include file or in parts of the include file, but nothing I've tried works - I.e.:

myTemplate=objRS("template")
<!-- #include file="inc_<% response.write myTemplate %>.asp" -->

Is there any way to accomplish this?

View Replies View Related

Using WMI And ASP To Obtain Remote Client Info

I'm trying to obtain remote client information to present on a web page using WMI. The problem I have is that no matter how hard I try (and how cross-eyed I get from reading doco) I can't seem to get access to the remote client owing to error 800a0046 - which seems to be a General Access Denied (according to related events in the System Event Log).

I've tried configuring the virtual directory as a highly isolated application, then chaning the account under which it runs to one which has the necessary server access, but with no luck. I've even confirmed via the Component Management console that the process is running under the nominated account. Code:

View Replies View Related

How Can I Obtain A List Of Available Server Objects WITHOUT Admin?

I am trying to build a site for a group which already has a hosting company.

I would like to try to find out which objects are available for use to me.
I do not have admin access to the NT box. Obviously I have permissions in
my area of the server.

I know I can test for specific objects but I'd like to know what is
available, not just what I can test against. Is this even possible? Code:

View Replies View Related

Search A String To Obtain Substring, Then Remove That Substring?

what I would like to do is remove a substring from a full string and display the modified string my basic code should be some like this:

strSearchString = FullString
strSearchFor = "SubString"
If InStr(1, strSearchString, strSearchFor) > 0 then
Response.write (FullString - Substring)

does anyone have any idea how I would go about doing this?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved