Redirection Limit
is there any reason why i can view a page at work (which is on our server) yet when i view it online from the domain name (some pages are hosted, some are running off our server) i get the message: "Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked."
View Replies
ADVERTISEMENT
I have a question on page redirection
A user login from a asp page (p1), it calls another asp page(p2) to do the validation, after successful. validation, it's forwarded to a welcom page(p3). How can I redirect back to the orginal page(p1) after certain time?
I used <meta http-equiv="refresh"; Content="3;
URL="<%=Request.ServerVariables("HTTP_REFERRER")%>">
but it seems redirect back to itself again and again.
View Replies
View Related
I need a redirection help. I have a login page, upon validation, i need to redirect the page to a welcome page on another server. How would i do that.
Iam given to believe Response.Redirect or Server.Transfer shall work only across the same web server. How do i transfer to another server ?
View Replies
View Related
I have a web page (let's call it main.aspx) that must only be accessible
thru another web page in my web application. Users should not be able to
browse directly to 'main.aspx'...they can only be redirected their from
another page on my site. How does one go about doing this?
View Replies
View Related
the code below is from a results page. When clicking onto it, you are diverted to the description.asp page. Can it be changed so that any result which listed under a "Basic" AccessLEvel is redirected to the basic-description.asp?
<a href="description.asp?<%= MM_keepNone & MM_joinChar(MM_keepNone) & "SupplierName=" & rsSearchResults.Fields.Item("SupplierName").Value %>">More Details</a>
In basic terms, "If AccessLevel is "Basic" then redirect to basic-description.asp.
Keeping in mind that it needs to pass all the values that the code above passes.
I have also included some code for a previouse project.
<%If trim(rsSearchResults("AccessLevel")) <> "Basic" Then%>
<a href="description.asp?<%= MM_keepNone & MM_joinChar(MM_keepNone) & "SupplierName=" & rsSearchResults("SupplierName") %>">More Details</a>
<% end if %>
View Replies
View Related
I am trying to redirect to another page by supplying a recordset data in the url...
I have tried this code but it doesnt work...
response.redirect("order.asp?OrderValue=" & myRS("orderNumber"))...
View Replies
View Related
I need asp.net code for conditioned-redirection:
I have multiple domains pointing to one page , let's call it page0.aspx
I want to put a code in page0.aspx so
when domain1 opens page0.aspx it redirects it to page1.aspx
when domain2 opens page0.aspx it redirects it to page2.aspx
.... etc
Is there a code for that?
View Replies
View Related
I have a page (located at mywebsite/a.asp) that redirects to another page
(theirwebsite/b.asp) located in other server. This other page probably will
redirect to another link again (othersite/c.asp) and finally display the web
page I want the user to see (finalwebsite/d.asp)
What I want to do is, once they click the link (b.asp) located in the a.asp
webpage, to load a "please wait" type of page, like Expedia does while
looking for information; and that "please wait" page should appear until the
redirection process gets to the final page (d.asp)
Since all the pages (after a.asp) are located outside our server (and we
can't access the code in those pages), how can I do that?!? Please be as
detailed as possible or point me where I can find info about how to do this.
View Replies
View Related
I have created a repository for training and reference files. The management would like to see reports regarding who is using what files. To do that I am sending the user to a page (OpenDocument.asp) with the URL in the querystring (?URL=blabla.asp). A database is then opened so the rep is logged and then they are redirected to the URL in the querystring.
The problem- When the browser redirects through a querystring it substitutes / with %5C. Once that happens the relative links we have created for the images do not appear because they are looking for the last /.
View Replies
View Related
I have a script which uses a custom 404 page to extract data from a database
and show users the correct content.
On our local development server the URL in the address bar shows as wanted:
http://www.domain.co.uk/aboutus.asp
Whereas on the remote live server the address bar shows:
http://www.domain.co.uk/error_pages...uk/about_us.asp
Why is this? Can anyone help?
View Replies
View Related
So far I have the code below (and a little bit more) to redirect a user to a different page, that works well for just going to one page, but as you can see by choice number 4 , I wish to allow the user to go to two pages, one after the other.
All of the pages that it redirects to have forms on them so the user can enter there information into it. obvoiusly I only want the user going to pages that are appropriate for them. Code:
View Replies
View Related
i have a website about searching products and get its information and online ordering, and for ordering products user must be registered and must give his/her ID PW to continue, the problem is that when user browse the products and then want to order this for ordering he give id pw but he redirect to his/her account page i want to redirect on the order page or page the user last left.
View Replies
View Related
I have ASP page redirect from a HTML page which is password protected by IIS auth.I would like to check whether the redirection is REALLY taken from the HTML page. Since the ASP page is located at second server, would there is a chance that ASP programming such as server object can check the original URL. Or any other method.
View Replies
View Related
We have a web site running on our Windows 2003 server with IIS 6. We have installed a digital certificate for the web site and want all users to access the site using
https. Because of the diverse nature of our user base it would be difficult to advise users of the requirement to use https as opposed to http.
Is there an asp script we can use to automatically redirect all http: url requests to our https: url address. We tried an old .asp script we had from an older verison of IIS and it didn't work.
View Replies
View Related
I made a lil program to where if a certain server is down i can redirect all the traffic to another server. I can goto this secure page, type in some info and it changes this one field
My thought is that this page (below) reads where the "place" is. If the thing it calls is a "1" than it will goto this page, and any other character will goto the other pages. The problem with this is for some reason the code isnt workign below.
I think i have all the logic. When i put all this info in the page and upload it just sits there. Am i missing something. All i want this page to do is look at database, check which value is in the page, and than it will redirect the people to the appriopate page Code:
View Replies
View Related
i have been doing this asp page....but the page doesnt seem to work....it doesnt redirect as i wanted it to be...i dont get any erro message....so idont know wats wrong witht his code:
View Replies
View Related
i want to go to another page on button click is there any method other than form submission
View Replies
View Related
i have a search form and wanted to know if I can direct a user to another page when they click onto a radio button.Example:
I have the following two buttons. If a user clicks onto the "trade" button, it does nothing.If the user clicks onto the "wholesale" radio button, I would like it to direct the user to the "login.asp page.
<input type="radio" name="wholesale" value="wholesale">
<input type="radio" name="trade" value="trade">
Is this posible?
View Replies
View Related
I try to use:
qs = Server.URLEncode(Request.Querystring)
session("fromURL") = request.ServerVariables("HTTP_REFERER")&
Server.HTMLEncode(qs)
on the login page
then on the next page
I use response.redirect session("fromURL")
the following extra characters got appended at the end of the URL
"auto%3Dtrue"
Does any one know what's wrong?
View Replies
View Related
Problem: I'm using a Form and when Submitted, will display
a confirmation page. The confirmation page is simply a
Form with an OK button. I want the browser to display
either [1] the first form OR [2] to another page and I
couldn't do either. Code:
View Replies
View Related
I have a bunch of old pages on my windows server that are still being occasionally visited (from bookmarks). I would like to clean up the web server and delete these pages/folders, but do not want people to get a 404.
With Apache, I would use an .htaccess redirect, but as this server is an IIS server (running asp/html pages), I'm at a loss. Code:
View Replies
View Related
I have a quiz that writes the results to an Access db. When the user logs in, I want it to redirect them based on their score.
I want them to login and get directed to page 2. Page 2 queries the db based on the user/pass. If the quizcompleted=0, they get directed to the quiz.
If the quizcompleted=1, they get directed to a page that says "You've taken the quiz and your score was _________ ."
View Replies
View Related
I got a access file with about. 90+ "posts" or what they are named. But my asp site only list the 50 last.. Any1 know why? Code:
View Replies
View Related
How can i limit the number of users on my .ASP page, i want only one user to
be using the page at a time,
The query i have on my page is big and takes a lot of my system resources.
View Replies
View Related
I have an HTML form with a textarea. When passing large
amount of data in the textarea, the Processing asp pages
catch an error message as follows:
Error Type:
(0x80020009)
Exception occurred.
The error is generated once the trim or length or replace
function is called on the field when long text is passed
in the textarea.
Is there a max limit on the string length that these
functions can process? What else can be done to done to fix this problem?
View Replies
View Related
I am trying to figure out how to create a
registration form that can limit that amount of people who are signing
up for an event.
The form has to take in consideration the number of
guests the attendee is bringing table seating location. How can
interact with the database in order to do this. I know how to create a
form and send that information to a database.
View Replies
View Related
Anyone used LIMIT in their queries before?? I've been reading up on it, but all of the examples I tried don't seem to work. Here is what I have:Code:
Set rs = CatalogCS2.Execute("SELECT * FROM products p " & _
" INNER JOIN applications a ON p.prodcode = a.prodcode " & _
" INNER JOIN inventory i ON p.prodcode = i.prodcode " & _
" WHERE DATEDIFF(d, a.app_launchdate, getdate()) <= '30' " & _
" ORDER BY a.app_launchdate DESC LIMIT 0,10 ")
Seems pretty straight forward, but I can't really find any good articles on it.
View Replies
View Related
I have a web application that query and insert record into a remote DB2 database. It has an ODBC setup pointing to a remote UNIX DB2 database server. The problem that I ran into today is that IIS created too many DB session which max out my limit at the DB2 side. I see a lot of "mtx.exe" when I check the db applications of the db server.
Even thought I close my db connection after each query, it seems to stay around and occupying a session on the DB server. So I ended up with a lot of people with failed insert or login because there are no more available session on the db server.
So my question is how can I set a limit on the DB connection? How can I make sure "mtx.exe" disappear after a query? What other option do I have?
View Replies
View Related
How would I limit the amount of Characters that show in the display:
<% =objRS("Title")%>
Like a Left Trim I only want 12 to 20 characters to show.
View Replies
View Related
I've made an ASP page that use a VB6 ActiveX EXE with a CreateObject.
Initially, this page work fine.
The object’s reference created with the CreateObject are saved on a session variable for reuse it on many page.
When many users call this page and many instance of the ActiveX EXE Object are created, the CreateObject command fails with a 429 error (ActiveX component can't create object).
The class (in ActiveX EXE) are MultiUse, then only a single EXE are running.
Terminating the EXE with Task Manager then the CreateObject will get to work again.
View Replies
View Related
I'm pulling product descriptions from the database and would like to limit the number of charcters that is displayed. Also, I'd like to add ... at the end.
Something like:
This long text is boring blah blah blah
would dispaly as:
This long text is bor
View Replies
View Related
I'm starting in asp and I'm trying to do a simple sql query to display a number of records on a page using the limit clause. I keep getting a syntax error in my from clause. Here's what I'm doing:Code:
rstProd.Source = "SELECT * from TBL_PRODUITS LIMIT 0,10"
I have no problem using this clause with PHP so I was wondering if there's some restrictions with it in ASP??
View Replies
View Related
I've got a small problem with my ODBC query that I'm unable to resolve by searching google. I need to limit my query so that it only returns a certain ammount of rows, for example 10.
I have tried the MySQL type query and that failed to work. Then I found an example on the internet in what looked like a weblog which said use "select top 10 * from tblname". Although this fails to work it does limit it when it feels like it. Often I'll get 11 or more results, but if I decrease the 10 to 4 for eample it still returns the same 11 or more rows.
View Replies
View Related