asp

is there any session server for classic asp? or can we manage multiple sessions between different machines and classic asp application?

hi , we have a classic asp web application which has divided into three parts and spread into three different web servers but we want to manage our sessions at the very first place of entering users into the site. as much as I know there is no official program or method for doing so in classic asp so I was wondering if somebody could h...

C# URL Routing Issue

So I have an interesting problem here. I am using URL Routing to mask the URL but I want to take the spaces out. For example: /sanjuan/ but in the database it's San Juan. An error is thrown when I type it in because clearly theres a space in the DB. I don't want it conjoined in the DB though. How can I accomplish this. I just need som...

Redirect website on asp.net

I've a website composed by some .asp file and a lot of static .html I want to redirect all www.oldsite.tld/abc.html www.oldsite.tld/xyz.html to www.newsite.tld/abc.html www.newsite.tld/xyz.html If I'm on Apache I would use a .htaccess but how could I do that on a ASP, ASP.NET server? (I don't have access to IIS manager) .NET Fw: ...

File Upload from FLEX or ActionScript 3 to ASPX .NET??

Hello. I would like to know how to upload a file from ActionScript 3 (From a FLEX Application) to a Dot Net Back End, maybe to an ASHX file, an ASPX file or similar and using C# as core backend language. Thanks!! ...

Replace not working on special characters

I have some info saved in a database field with the following structure: First Name: > XXX Last Name: > XXX Sex: Male > Female Age: 19 > 20 This information reflects changes made to a specific database record. In this example, First Name was changed from nothing to XXX, Last Name from nothing to XXX, Sex from Male to Female, and Age f...

ASP .NET PDF Documents Storage in Database Using XML

Hi, Please see the code below. What I am trying to do is to store some PDF file names in XML format inside a database 'PDF_Storage' field. The code kind of works but is not polished enough: If there is no data for a row then I am putting a hard-coded xml file and then manipulating (Uploading new PDF; Deleting PDF) using a GridView contro...

Multiple route values

I'm working on a project that requires me to sort a column of a list and the list is several pages long. Currently, when I sort, everything sorts correctly, and when I go to the next page, it does just that. My problem is that once I sort and go to the next page, I lose my sort value. I'm using the ActionLink Html helper method to gen...

tutorinal for fpdf for asp in English?

tutorinal for fpdf for asp in English? ...

Export webpage to Word in ASP

I would like to add a button on top of a webpage, which when clicked should copy the entire webpage to an MS Word document. This has to be done in ASP. ...

Excel dump takes long time.

So what I have is an asp page that allows my user to hit a button and it will generate a dump of data from our sql server containing about 100k rows and 23 columns to an excel file. This takes about 10+ minuets. Should it be taking that long? ...

how to achieve/mimic asp .net button postback behaviour using a normal html button, image or anything clickable?

Hi all! Here i m once again here to seek your help :) Now i have a problem where an asp .net button/image button is not doing the postback! The problem at hand is in this page: http://www.datespeed.net/ Here i have a gray themes panel. Where there is a themes dropdown and an asp .net image button called apply. Now the dropdown is doi...

Asp - only localhost can access shared drive

I'm migrating a legacy asp application onto a windows 2003 server. It access files on the lan which is where the problem lies. The user id is a domain account id so for anonymous access i have entered the domain\iusr_machinename. This works fine when running it locally, the log file shows it running as localhost, but when i try from anot...

How do I put textarea data into an SQL Server database?

(This is classic ASP) I'm sure this is just a case of escaping the text, but I haven't found anything yet. I have a textarea that may contain all sorts of characters and I need to UPDATE the record with whatever is in that textarea, but I'm getting an error that breaks my SQL query, which I'm positive is related to the content of the tex...

Passing a recordset to a component method to be filled

I am having an odd issue where I am trying to pass three recordsets to a method to have them filled with data all under the same database connection. By reviewing the custom logging info when running the code below I can see that I am getting a Type Mismatch error when assigning the recordsets passed to the method to the local variables...

Classic ASP SQLNCLI connection string returns empty recordsets that worked fine with SQLOLEDB

Trying to switch to SQLNCLI so I can use varchar(max) fields in my ASP application. No records are returned from a query that worked fine under SQLOLEDB. The connection string opens as follows: ConnStr="Provider=SQLNCLI10;Server=129.118.139.78,8888;Server=UWCTest;Uid=user;Pwd=pass;DataTypeCompatibility=80;MARS Connection=true;" oConn....

.NET MVC Masking Password textboxes

I was under the impression that using an annotation like this: <Required()> <DisplayName("Choose a Password:")> <ValidatePasswordLength()> <DataType(DataType.Password)> Public Property Password As String Would create a masked field when used in the view: <%: Html.TextBoxFor(Function(model) model.Password) %> <%: Html.ValidationMessag...

Dynamic URL Routing w/ Web Forms

I have posted in here before but all have led to dead ends. First of all I got this to work via ASP 4.0 with MapPageRoute. But in 3.5 I apparently don't have that option. I want to accomplish the following: destination.aspx?id=1 -> destinations/rome destination.aspx?id=5 -> destinations/florida Below is the code I currently have: <%...

Apache AddHandler: Run ASP code as PHP

I'm running XAMPP. Is there a line I can add to .htaccess or http.conf to make ASP be parsed and handled as PHP pages? I had it setup before but can't remember how to do it. What I've tried so far hasn't worked. Edit: None of these solutions are working, I've tried everything. ...

help with regex - how can i make some urls no-follow?

Ok so i've made this function which works fine for converting most urls like pies.com or www.cakes.com to an actual link tag. function render_hyperlinks($str){ $regex = '/(http:\/\/)?(www\.)?([a-zA-Z0-9\-_\.]+\.(com|co\.uk|org(\.uk)?|tv|biz|me)(\/[a-zA-Z0-9\-\._\?&=#\+;]+)*)/ie'; $str = preg_replace($regex,"'<a href=...

Security in ASP pages

Hi, I'm working on a project that consists of ASP pages (not ASP.Net). I would like to know if there are security mechanisms that can be implemented for ASP just like the ones that ASP.Net handles in the webconfigs. Thanks in advance ...