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 /.
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.
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?
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?
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
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.
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:
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.
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.
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."
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.
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:
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:
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.
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:
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:
I have a simple ms access database front ended with simple asp pages using ms front page. I used the wizards to put it all together and I can send data easily enough using forms. I can recall the data using the data base wizards but I can't seem to design it to update the data once it's been submited. I've played around using sql update statements and modifying pages... but I gave up in the end. how I can design an update page using ms front page??? It doesn't have to be fancy or complex... I'll work on making it pretty later.
I have a website with a default webpage having an image. I am also having four(4) images. I'd like when the user closes the browser and reopen it, it must load a new image.
e.g. The User open the browser for the first time - Loads Image1. The User open the browser for the second time - Loads Image2. The User open the browser for the third time - Loads Image3. The User open the browser for the fourth time - Loads Image4.
The User open the browser for the first time - Loads Image1.
I know I can do this using JS but can I do it using Vbscript? I want to check if a browser is NS4 or lower and if so to display a certain stylesheet. If another other browser then display an alternative (more feature rich) stylesheet
in ASP Application can we get the application page by entering a single word in browser? more clearly. see i have my application in www root. called "test" folder.
now if i am entering only "test" in internet explorer browser, how can it will take fist page of my application. my first page of appliation is "login.asp" from test folder? please tell me how to implement it in ASP?send me the code.
How can I get text to remain on the Browser's statusbar? For example, if I'm saving data to a DB Table after a user clicks a Button in the ASP page, I want the statusbar to show something like "Save Successful" or "Save Failed" so they know something happened.
Right now, I'm trying to use the windows.status property, but it just flashes real quickly in the statusbar and then "Done" is displayed.
I have just uploaded my website and it looks fine in IE, but awful in Mozilla. I need to load a different CSS file according to what browser a user has. Does anyone have any code that will detect browsers and versions?
anyone knows a VBScript that acts as a webbrowser? I am behind a firewall and my local machine is not visible to the internet, but I have a access to some webspace with asp VBScript. With the right script I could tunnel pages and sites from my local machine
Does anyone know how can I get Visual Studio to show a classview-like function browser for my asp files? (For VBScript functions.) It would be enough if it showed the functions in the asp file I'm working on, even better if it showed all the functions in all the .asp and .inc files in a project.
I'm designing a small web application which is a table displaying live data which updates every minute or so. This app is very small and will stay open on a client PC's pretty much all day. So I was wondering if it is possible to display it in a browser , without the IE toolbars, just like a fixed dialog.