asp

ASP Enable enter key

I have a login box that I need to have submitted when enter is pressed. Below you are going to find part of the code. Please any help would be appreciated. <div class="box-login clearfix"> <div class="box-login-header"> <h3> Registered Users</h3> </div> <div> <asp:Label ID="LblMessage" runat="serv...

Redirecting old asp files to new aspx (asp.net) files (Permanent Redirect, SEO)

Hello, I upgraded my site from asp to asp.net. This means that all of my previous asp files became obsolete. I don't want to lose my Google Ranking of the old pages. What is the proper way to redirect? I tried to catch all of the old asp pages is my 404 and then to: if Request.QueryString("aspxerrorpath").contains("index.asp") = true ...

ASP.NET cookies for ASP page

I have a wierd situation where I have an ASP.NET page that sends the user to the ASP page, and data is passed from one to the other via query string. I've been assigned the task of changing this so that cookies are used instead of query strings. I'm a little clueless here. Is this possible? How do I get started? Do I need to worry abo...

Classic ASP Sending errors to browser does not work on IIS7 for remote connections

I can’t get detailed error reporting for IIS7 for ASP pages on a remote browser connection. However, when I run the page locally on the server I do see a detailed error message. I have enabled Send Errors To Browser but IIS keeps sending an internal server error. I have unchecked show friendly HTTP error messages on IE. Does anyone kn...

MONTH IN MS ACCESS

Hi When executing the code , Datatype mismatch Error is showing .Can tell if i need only Month(either as January,February.. or as 1 ,2,...12) as a field in MS Access database what should i give as data type. Thanks for your answer.One more query: if (rs6("TotalDays")+ tdays) > rs5("Sing") then Is there any syntax error in this statem...

ASP session variable lost

On PageA.asp I set a session variable like so Session("affiliate") = "xyz.com" When I click a link and go to PageB.asp that session variable no longer exists. I have other session variables and they persist across the pages. I can response.write my session varriable on PageA.asp, so I know it gets created properly. I had this probl...

ASP issue in retrieving datas

set rs6= objconn.execute("select TotalDays from newbank where " & _ "newbank.empid= '" & session("EmpID") & "' and newbank.LeaveType = 23") Here 23 is the value in the Field name LeaveType.But TotalDays are not retrieving.Can help to solve this Thank You ...

ASP.NET Web Service POST/GET via REST unavailable?

I'm working with a .NET based Web Service where some of the API calls can be accessed via HTTP POST/GET but on others only SOAP 1.1/1.2 are available. The company that has developed the API have come back to me have said the following and I was wondering if he's trying to pull the wool over my eyes or whether he's speaking the truth. H...

DPS payment gateway integration

I need to integrate DPS payment gateway in a site. Can anyone provide me the script to implemnent in the site. The site is built in classic ASP. ...

Update Panel Repositioning Screen

Ok so I have an update panel that updates conditionaly, and inside of it, I have 5 times the same control. The problem is this control also has an update panel, that keeps refreshing every 1 second, getting data from a table inside a repeater. Since I'm not that experienced with web developing, the only other solution I thought of was ...

Calculating number of users accessing my website at a specific point of time

Hi... I am having a web application built using ASP and Asp.Net.I want to restrict number of users accessing this website.There are ways available separately ASP and ASP.NEt but,not for combination of these two. MayI know if I could just use Application["somename"] in global.asax One more thing is when a user leaves the application, whi...

how to develop a .net library backward compatible to vb6

Hello i need to develop a .net library which exposes a java web service proxy to a legacy vb6 asp web application . Being the first time i do such a task and not knowing vb6 programming language, i need some clearifications by a more experienced programmers. To begin i've searched the web and i've found the following link (in case some...

Lucene Indexing - using a web service

I have an incremental index on a shared hosting server. I would have used a console application to perform the indexing by the hosting provider does not allow console apps on the server. I am thinking of using a web service to do the indexing (with some queuing mechanism). Is this a good idea? What are the pros/cons or alternatives? ...

asp / asp mvc - how to trigger automatic client refresh

There are 3 clients that looks at same data instance, one of them edits data and submits on server, what are the mechanisms to make the other two clients instantly see the updated data ? I am thinking of some AJAX poll from time to time that will force page reload if there are changes or some page expire , is there anything else ? ...

301 redirect from previous asp verion

I have found this. http://geekswithblogs.net/shahed/archive/2007/10/23/116278.aspx Can some help me organise this into an aspx/aspx.cs file as I'm not overly familiar with all the code here. Hi, I have built a new website using asp.net. The previous version was built using asp. Here is the problem. My client wants 301 permanent redir...

ASP.NET HTML Form Failure

We've just brought up a new ASP.NET page that is showing a strange error. The error shows up in the next page as if the data isn't in the form. When the user goes back and refreshes the page and resubmits the form it works just fine. A little background, this source is being served up from a virtual directory for 8 web servers with a loa...

I want to transfer Excel sheet data into SQL Server 2008 using ASP

The data is in rows and column format. I want to know the difference between SQL Server and SQL native client. While making the connection string, it asks for 'SERVER'...what should I put over there? Please help and please send the code if u have.. thanks a lot... ...

ASP AND MS ACCESS

set rs5 = objconn.execute("Select Sing from LeaveEntitlement where MonthEntitle = '"& Month(ttodate)& " ' ") do until rs5.eof if rs5("Sing") then s = rs5("Sing") Loop In the Database table LeaveEntitlement, MonthEntitle is a Field Nmae(Text Data type) from January...December.Sing is another Field(Number Dat...

How to Check whether a file is text file or not in ASP

How to Check whether a file is text file or not in ASP ...

Save values in code behind asp

I have a aspx page. I have another class and stored procedure. From the aspx page I call a funtion (Term.ShowTerm()) and save data to txtInfo[]. I want to use that info (these variables) after a user reloads the page (a postback -> btnSymptoms_Click for example), but txtInfo resets its value. Is it possible somehow to save these value? ...