I am having one asp page(i.e home page) which has two frames in it. Left frame contains menu and whichever option is clicked in it that corresponding page is shown in the right frame. In those pages i am checking for sessionid and if it is different from what is there in the table i want to show the login page.
The problem is that as i am using response.redirect in the pages shown in right frame to go to login page but then the login page is shown in just the right frame but i want to show the login page on the whole page.
I built some Web site that includes 3 frames page. After a user sign-off I want to redirect him/her to a single frame page. When I use Response.Redirect command, I am getting the redirected page as a frame and I still see 2 other frames.
How to get rid of other frames and display only a single frame?
I have one combo box and GO button on the click of GO button page submitted and according to selection of one of the option from combo I want to redirect my page to some new asp page but at the same time in new window of browser.
I could have achieved this using window.open() of javascript but then it will serve as pop up and clients requirement is that not to show as popup window due to many users blocked popups.
Any suggestions, How can I achieve this using response.redirect or any coding which is not serve as popup window.
I'm trying to build a tray for users to download their selected items. I was wondering if anyone knows how to response.redirect a file (for the user to download) and check to see if the download was successful/unsuccessful, then have the asp page reload itself based on the result?
e.g. something like this:
if Session("FileName") <> "" Then 'a file is ready for download
response.redirect (Session("FileName"))
** check if download successful, then set ** the tray info accordingly and...
response.redirect thispage.asp end if
Of course the second response.redirect never gets called, is there any other way I can do this?
how do i pass form values through a redirect statement to another page. I have a redirect stt. Response.Redirect "exist.asp" and i want to pass form values to be displayed from exist.asp.
I am trying to redirect in a different frame when my users are logging in. I used this code, but this doesn't work properly. Well, the asp works fine but just don't display in the frame I want it to. Code:
I have my application with four frames and would like to redirect from one frame to _parent or _top. Can I do that with "Response.redirect" or similar?
but I keep getting a "permission denied" error. If I just put the same address string in IE6's Address box and go to it, IE opens myusername's FTP home page just fine, so I know the FTP site is working as expected. Also, if I put in an anonymous ftp site, without the username and password (e.g. "ftp://ftp.microsoft.com"), the redirect works fine, too.
I don't want the user to be prompted by IE for the username and password at the FTP site, so I am providing them from within the web site.
What can be preventing the response.redirect from handling non-anonymous FTP access? Is there a better way to do this?
I have a ASP Page[inline frame in an html page] that does login to a database.
When the user visits the site, the first attempt to login will always failed and session is broken. Login name and password are correct though.
Only when the user re-try agian he/sge is then able to login to the site successfully. Can anyone tell me what could had caused the first time login failure?
I have made this frameset for my site, 4 frames in it, and each one holds a html page. The mainframe however holds an asp page. Each time I try and load the frameset and preview it, in the mainframe I see all the asp code of the page, not the compilation of it. When I try and open the asp page separately, I can see the compilation just fine, tables and everything.
I'm trying to build a page which has two frame, one is hidden and the other main. The hidden frame will have all the neccessary recordset and variables.
and main has forms and functions which should retreive data from hidden frame to use it on the form. I noticed it's possible using javascript but i'm building page with vbscript and have not found a way to do it.
The reason I'm trying to do this is to reduce down the server traffic. The page will get local variable rather than accessing database everytime user request some values.
If this is not possible, can someone tell me how to store recordset into session variable? so it can be used across the page.
I have an application that displays messages that are stored in SQL server The application uses frames
In the vertical frame along the left side of the page, I enumerate the current messages. This frame is named "SELECT" Clicking on a message subject causes
In the main frame, named "BODY" I display the message that is retrieved from SQL Server in a textarea.
When a message is displayed, I also display a prompt ro delete the message.
The delete prompt works just fine except that I need a way to update the enumeration of messages in the "SELECT" frame.
Is there a practical way to force the page in the select frame to refresh itself when I delete a record?
I have a pop-up window that allows editing of items displayed in a frame on the parent page. When the user edits or deletes an item in the pop-up window, I'd like it to automatically refresh the frame in the parent page so that the change is more real time and the user doesn't have to refresh to see their changes. Any ideas on how to accomplish this?
I have made this frameset for my site, 4 frames in it, and each one holds a html page. The mainframe however holds an asp page.
Each time I try and load the frameset and preview it, in the mainframe I see all the asp code of the page, not the compilation of it. When I try and open the asp page separately, I can see the compilation just fine, tables and everything.
I got a asp page that has right and left site frame. I got a form in the right side frame and i want it reload the left frame when the it got submited .The left side frame displays that content of newly sumitted form.I be happy if some one help reload this left page when a form got submitted in right side frame with out using any auto refresh.
I have a date in a frame/page that i want to pass to another page. I can succefully pass a static value, i just can't pass a value from a text box.
I tried to make everything public. I believe that Me. may only refer to the page that is orginating the action. But how do I pass the text box. Can we assume since I can pass the static value, that the issue is how I grab the textbox value Code:
Is it possible to send a variable through a hyperlink, to a frames page, and have all 3 pages in the frame pick up the variable using the request.querystring ?
In other words, I click on a link that has ?id=2 lets say.. it goes to a page called umm say index.asp the index page has a top, main, and a left. how do i get each one of those to receive the variable, when i can only send it to one page? or is it possible to send it to more than one page, but only travel to one page? so the link looks like index.asp?id=<%=var%> Code:
I am working on a project where the site was already created using frames and .aspx pages. I was asked to update pages as well as add new functions. This project is an online training course for internal use only.
I need to put a Print Button on the left frame called "buttons.aspx". I need it to print whatever current content is on the main page. So, of course this will vary from page to page because each has a different file name such as 3_1.aspx and 3_2.aspx. I was able to get the Print function to work but it only printed the "buttons.aspx" page which was nothing more than a few navigational buttons.
IF Trim(Request.QueryString("v")) = "" THEN Back = Replace(Request.ServerVariables("Http_REFERER"),"http://localhost/","") ELSE Back = Request.QueryString("v") END IF
Code: if left(request.Form("phone_nu"),3) = "234" and len(request.Form("phone_nu")) < 11 then response.Redirect("sms.asp?error="&(request.Form("phone_nu"))) end if
is there a way to response.redirect what's already in the address bar then add on what you want for each link? I have a page that will sort but I dont want to type out all the links. cant I do something like
response.write((whats in the address bar)&sort=asc)
I know I could do this Response.write(request.servervariables("URL")) but that doesnt give me the stuff in the address bar