asp

ASP MVC Redirect without changing URL(routing)

Hello there, im having a little problem accomplishing this, hopefully someone can help me out. Currently using c#. Goal: I want to be able to type URL: www.mysite.com/NewYork OR www.mysite.com/name-of-business Depending on the string I want to route to different actions without changing the URL. So far i have: In: public static void...

Cannot connect to remote MySQL DB from GoDaddy

I developed an ASP application (VBScript backend, JavaScript frontend) that makes use of a remote MySQL database (Bugzilla). The applicaiton works well on a localhost, yet fails to work when uploaded to GoDaddy. Spending two hours on the phone with GoDaddy's support didn't help... The error I'm getting is: =============================...

How to maintain the same ASP session during a redirect to SSL?

I have a shopping cart website running classic ASP that needs help during the checkout process. When a user is ready to checkout, they are redirected to an SSL version of the site. Response.Redirect "https://mysecuresite.com/beginCheckoutProcess.asp" When the jump occurs, the customer starts a new session when they arrive at the SSL...

Python selecting a value in a combo box and HTTP POST

In Python, I'm trying to read the values on http://utahcritseries.com/RawResults.aspx. How can I read years other than the default of 2002? So far, using mechanize, I've been able to reference the SELECT and list all of its available options/values but am unsure how to change its value and resubmit the form. I'm sure this is a common ...

Sending Mail code in ASP

Hi all, I have given one HTML file. When someone fills the form & sends it, it should send email to their mail id. how to write code for this in ASP? Your Name:* Email:* Phone No: ...

How to add the Ajax Control Toolkit to Visual Web Developer Express 2008

Anybody knows where to copy the AjaxControlToolkit.DLL so that it appears in the Toolbox under Ajax controls? Thanks! ...

Caching best practices

Hi, everyone. Can someone share some links on articles about back end caching and fragment caching in ASP MVC applications, best cache architectures, etc. Any useful advices also will be very appreciated. ...

what is asp's Request.ServerVariables("AUTH_USER") jsp equivalent?

well, on a IIS web site with integrated windows authentication and no anonymous access, I can retrieve the logon username of the user, something like like domain\user... is it possible to achieve this with jsp on tomcat? (or any other container) I've tried with request.getHeaderNames (on tomcat) but I only get host, user-agent, accep...

Where can I manage Server Objects?

How do I link an odbc object to a stored procedure I have written. Please see example below: The following code executes a stored procedure called DEPT_Add, yet the name of the object function is AddDepartment. Set oDept = Server.CreateObject("JTQTMS.JTDept") bReturn = oDept.AddDepartment(CStr(sDeptName)) My question is if I add a...

Excel as the Backend to a Website!?

Dear Ammo, A third party developer my boss has brought in, designed a "Better" System than our ASP.NET + MSSQL Server 2005 website we're using now. Here are the relevant specs: Excel + ODBC as the data store Built using old school ASP, not ASP.NET Is there any glaring problem with his solution short of the ancient tech? Thread saf...

WPF app into ASP

Is there any way to turn to WPF app into an ASP app? Or are they totally unrelated technologies? XAML format reminds me so much of HTML that it seems like there might be a way. Thanks. ...

AS3 retrieving xml from aspx page

Hello all I'm an AS3 noob on training wheels... I have an XML Loader class which is doing what it's supposed to with a test.xml file, however I need the flash to read the xml written by an aspx file. So I tried: var urlRequest:URLRequest = new URLRequest("../xml/CaseStudyFlashAssets.aspx"); I get error #1090 (which I gather is bec...

How do I crawl my own website?

I've inherited an old Classic ASP website to modify. Although not requested up-front, I'd like to delete a bunch of the old "orphaned" pages. For some reason, The old developer decided to create muliple instances of the file instead of using source control (eg. index-t.asp, index-feb09.asp, index-menutest.asp). I'm wondering if anyo...

Any good references or tools available for converting ASP to ASP.NET?

What tools, practices, or documentation have you used in your conversion process that you would recommend to others? ...

Query xml from ASP without XSL

I have some very simple XML: <properties> <property> <name>BobFish</name> <explaination>Bob is a fish.</explaination> </property> <property> <name>DaveFish</name> <explaination>Dave is a fish.</explaination> </property> I want to query if from ASP. Something like: Response.Write (GetExplaination("BobFish")) This is the functi...

Is it possible for IIS 6 to serve unprocessed ASP/ASPX pages?

The only thing I was able to find on the subject was a posting from 1997 (http://insecure.org/sploits/microsoft.asp.iis.html), so I was hoping someone on here might have more recent knowledge on this topic: Does anyone know if there are any known vulnerabilities in IIS6 that would allow a user to view an unprocessed ASP or ASPX page, ou...

How can I send the contents of a table or results of a sql query to the clipboard from an asp Page?

There are many examples on the internet of doing this type of thing. But none of them work in Firefox. So I thought I'd set the challenge for Stack Overflow users. Basically I need a very easy to use way for a user of a page to get the results of a query into the clipboard so that they can paste it into excel. It can either be getting ...

My site toggles between OK & Error 'ASP 0115'

Hi there My ASP website is acting strange: 70% of the time it works normally. 30% it shows this message Active Server Pages error 'ASP 0115' Unexpected error /index.asp A trappable error (C0000005) occurred in an external object. The script cannot continue running. Never changed anything so what is the proble...

Accessing XML stream from ADO against SQL Server 2008.

We are migrating ASP code that used ADO to connect to SQL Server 2000. For the most part the code migrated without a hitch to SQL Server 2008 after defining the connection, but one type of query is throwing an error that puzzles me. Against SQL 2000, we would use code like this: set oCommand = Server.CreateObject("ADODB.Command") oComm...

convert PHP(JSON) to ASP code

Can someone convert below code to ASP format? <?php $data = ' [ { "A": "test", "B": "test", "C": "test" }, { "A": "test", "B": "test", "C": "test" } ] '; print($_GET['callback'] .'('. $data .')'); while I was testing cross domain restriction workaround, this code works fine with PHP server (of course)...