asp

How to display an html document in an asp control

How do I display an html document in an asp control, preferably an asp:table, programmatically from server side script? I currently open the html document with a Streamrader, read it into a string, then put it into the table, but all the html markup appears. I tried using HtmlEncode, and HtmlDecode, but cannot get it to work. So I have t...

maintain large No. of videos on asp website

i m developing a website in asp .net 3.5 which involves a large number of videos. i m using xml to save the links of the files. currentlly i m facing space issues due to lage number of videos. please suggest mehow to overcome the problem. ...

Session time out with Timer in ASP.NET(C#)

I want to time out the session with timer, I am implementing a ecommerce project, where I required when user add first product in the cart a timer will start and user add more products in the cart but user did not checkout the cart product within a specific time the cart session is timeout(cart empty). How can acchive this. ...

Get full url and split into an array with JSP/ASP

In PHP/Apache I can get the full url and cut it up into parts like this URL: mysite.com/friends/enemies-cats/ Then using PHP explode function I can split the URL by the "/" into an array. Array[0] = 'friends'; Array[1] = 'enemies-cats'; I wonder, is it possible to do the same thing on a Java server. I am hoping the same thing could ...

Is it possible to get value from array with value "Name"?

hi, This is my array <% Dim myFixedArray myFixedArray(0) = "Albert Einstein" myFixedArray(1) = "Mother Teresa" myFixedArray(2) = "Bill Gates" myFixedArray(3) = "Martin Luther King Jr." %> Now i using to get value is <% For i=0 to 3 response.write myArray(i) & "<br>" Next %> I need to take "Bill Gates" array Number I need resut ...

Access Denied errors accessing IIS WMI provider from ASP

Morning, I have a Windows 2003 server running IIS 6 and have some scripts that do automated setup and creation of websites. They are not working on a new server I cam commissioning (they already work happily on 3 other W2K3 servers). The problem appear to boil down to WMI security on the IIS provider. The ASP code below represents th...

issue with ftp upload and viewing asp or aspx files

Hi, My english is terrible but i want to ask a question. i hope i can explain. Problem is asp or aspx extension files upload with the ftp programs. But it didn't work upload at server. stopped and started IIS. Then it was worked. How do I solve this problem. Thaks for you help. ...

how to store value of session into a variable.

Hi Thanks a lot to all for helping me ... Plz some one tell me .. How to assign value of session into a variable . I have a session which calculates no of rows in gridview . As below session["cont"] = GridView1.Rows.Count ; Then in another function , I want to store this in Variable K ; ...

How create server side multiple request?

hi friends I am working with 3 xml's, i wand to send my 3 xml request to different http's in same time, How it possible? I using classic asp(VBSCRIPT), below is my code now i use. Below code is working fine.. But the problem is to take more time to send and recive xml (because it send in different time) <% ' xml 1 pXML=Server.URL...

XML in Classic ASP Vbscript

I am back to asp with XML manupulation. Initial file: <?xml version="1.0" ?> <root> <sport/> </root> this is my function Public Function DefinitFunction( x,z) Dim text Dim Root Dim NodeList text = "<Definition>" ---<x> </x> <z> </z> --</Definition> " text = text & "<x><![CDATA["&x&"]]> </x>" text = text & "<z> </z...

How To Implement ReverseAJAX (Comet) in ASP.Net MVC

How could I implement a Comet architecture in a ASP.Net MVC? ...

jQuery 'reverse callback' from ASP page

OK, I have a need to send a large request to a server running ASP::PERL and to have the server post back progress to the calling page. Basically -> tell server to upload a whole bunch of files in a file share, then update a div on the client as each file is checked for error/uploaded/success or fail. Is there a way to put some callback...

Slow Loading of Calander Control in Report Viewer in SSRS

I have several SSRS reports that are displayed through the Report Viewer control on a custom website. The page renders quickly but the control bar of the Report viewer does not respond for roughly 5-10 seconds. The page then re-freshes slightly and the Calander controls can be selected. I think it has something to do with Java but canno...

How do I do a loop in Visual Basic

I have programmed in C, Pascal, GWBasic, TCL, Perl, Lisp, but Visual Basic is too advanced for me. FOR j = 1 TO 31 output_to_webpage "<p>Counter is " + j + "</p>" myDay = "" + j IF j < 10 THEN myDay = "0" + j MyStr = MyStr + ",j" NEXT The loop never appears to happen. Although if I comment out any references to the loop vari...

Classic ASP sending email with SMTP Authentication

We have inherited a classic ASP site from a design agency who just wanted us to do a search and replace to change SMTP hosts. No problem, we are a PHP shop but can turn our hands to most things. On further investigation it was discovered that we need to authenticate with the new SMTP server. A bit of googling lead us to believe that it...

SQL: SUM and GROUP BY don't return any row on ASP

I have two tables as follow: t_product p_id, p_name... t_order o_id, o_product, o_quantity that is my query: SELECT t_product.*, t_order.* FROM t_product JOIN t_order ON p_id = o_product ORDER BY o_product it return: p_id | p_name | o_quantity --------------------------------- 01 | prod_01 | 30 01 | prod_...

ASP - How to get URL of Referring Site

This is an ASP question, not ASP.Net. Assume there are two sites: www.domain-1.com www.domain-2.com www.domain-1.com has a redirection URL in IIS that points to www.domain-2.com. In www.domain-2.com, I need to know the URL of the referring site (e.g. in this case, it would be www.domain-1.com). How is this done? ...

Why "space" is not supported in the ajax post method?

hi , Below is my html <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> <script type="text/javascript"> function Data_Check() { var xmlHttp; try { xmlHttp=new XMLHttpRequest(); } catch (e) { try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); ...

how to use decodeURIComponent in asp?

hi friends, From my javascript i try to post data to my asp page using encodeURIComponent var dd = encodeURIComponent(document.getElementById("Remarks").innerHTML); How i decode my encodeURIComponent in asp page using vbscript? hoping your support ...

ASP! Permanent set <object> param windowless to false?

Hello! Is it possibly to run a (silverlight app) tag in "param, windowless = false" ? Even if i set it to off, it automaticly sets to true when i run the website :/ . Why i would like to do this is that my website is encrypted with java script, just to make it a little bit harder to see the source for my xap files. But if someone tar...