Opening Multiple Browser Windows

We have an app in which we want to enable our users to open numerous documents in new browser windows. I got the new window open thing down but each time I open a new document it opens it in the same popup window. I want to be able to select new documents
and open those selected documents one at a time in a new browser window as the custormer selects a new document to open. So how do I do that?

View Replies


ADVERTISEMENT

Session Leaks When Opening Another New Browser

Have anyone notice that a session will leak when opening another new browser?

Scenario:

a user (Mike, that's me) logins (username=mike & pwd=123) into abcde.com website. Mike's sessions will be saved.

Immediately the same user (Mike) opens another new (second) browser (ctrl+n) to the same website and logins another time, BUT now with a different username (username=rat & pwd=456).

Now when the first browser is refreshed again, Mike's original username & pwd (mike, 123) will be overwritten with (rat,456). So, the first browser's details is now rat.

My Question:

Is this a Microsoft or Explorer bug? or can we fix it with coding? Has anyone face this problem before? Try it.

View Replies View Related

Programmatically Visiting A URL Without Opening Browser Session

Using ASP, is there an easy way in code to "visit a URL", without opening a
browser session?

Explanation: I have a page caching class. The page caching class's behavior
can effectively be "programmed" via instructions that are sent through the
querystring. When members of our staff update articles using a CMS I
programmed, I would like the cache to be flushed. The cache can be rebuilt
by issuing an instruction via a URL querystring.

I would like the machine to programmatically "visit" two different URLs
without actually showing those pages to the user.

View Replies View Related

Opening TIFF Files In Browser After Converting To Jpg

I want to display tiff images in browser using asp, is there any free component available for this : that converts the tiff file on the webserver or anywhere to the jpg and renders to the browser when the users is accessing that tiff image.

View Replies View Related

Windows 2000 SP 4; Browser Hangs

I installed SP4 for Windows 2000.

Prior to the upgrade my system was at SP3 and I was able to run ASP
scripts from my browser just fine. For exmaple: Code:

View Replies View Related

Opening A PDF

I have an application that returns a PDF document to the browser (not as a
download). The document is returned in a new window. This works fine in
most installations, but I have one installation where it doesn't work in IE,
but does work in Netscape. At the installation where it doesn't work IE
returns the file download dialog box instead of just opening the file. When
I click open or save it complains that it can't find the file. I suspect
the problem is with the file name.

IE is generating a very long file and
I'm guessing it is getting confused. My code did not originally set the
file name, so I'm trying to solve the problem by setting the file name.
Here's the code that I'm using, but it doesn't seem to have any affect.
Does anyone see why this doesn't work? objHttpConn is an HTTP control that
is used to retrieve the PDF document.

PS We are hosting the web sites where it does work and were it doesn't work
and I'm testing using my PC. The only difference is the version of the
application that returns the PDF document. All the machines are 2000
servers with IE 6.0 SP1. Code:

View Replies View Related

Opening UTF-8

I have a slight problem, I'm trying to open a textfile that has been saved
as UTF-8. But when I run it it displays strange chars eventhough i've
specified that it should read the file as UTF-8 using the OpenTextFile
method of the filesystemobject. I need to open the file, then insert data to
a database, nothing will get printed out on screen so its not a html-charset

View Replies View Related

ASP's Not Opening

Our ASP's stopped opening, and we gewt the error, page not found.

View Replies View Related

Opening OLE Object In ASP

I have a table called "Document" which has 3 columns

Doc_ID
Doc_Name
Doc (this is a word doc stored as an OLE object in ms access)

Now in my asp if the user selects a document it should open the word file.
I have my case statement that looks like as follows which I think might need some
modifications to open a word file: Code:

View Replies View Related

Opening A File

I have a drop down on a page where user selects a value and then a excel file opens up
it works good in mozilla but in IE it doesnt open up the excel file i see a new page been open but then suddenly it closes the file
i have checked the popus in IE and i dont know what the problem is
Here is the code Code:
<%
Response.ContentType ="application/vnd.ms-excel"
getid=Trim(Request.querystring("id"))
Response.write getid
%>
I see the output written when i use mozilla but it just doesnt work in IE.

View Replies View Related

Opening A New Window From Asp

I'd like to redirect from a certain page, to an external page(an external site), with certain parameters. of that window.

There is nothing to do if using response.redirct,
but is there another option?

For example, I would like to open a new window, that will have a cerain dimensions, and that the url of that window is... In javascript it is not a problem of course. What shall I do in asp???

View Replies View Related

Opening Port 80

how to open port 80 so that I can access my website from other computers?I am using Xp professional.

View Replies View Related

Opening A New Page

I have my code like this one.asp

<td><a href="callexp.asp?id=<%=rs("ID")%>" target="blank">View</a></td>

so now i call a diff page called callexp.asp ok

so it opens up a new page i want to set properties of the page like we do for pop up window.like i want the new page to be of a specific size with no scroll bars and stuff i have the code for opening a pop up window in javascript

View Replies View Related

File Opening

From a LINK or BUTTON on a webpage can we invoke the usual OPEN FILE dialog box that come with all the windows application .

In my Application I want to ASK the user the Name of a FILE on the disk ... currently i am asking the user to input the COMPLETE PATH in a TEXTBOX ....

View Replies View Related

Opening .csv File

I need to incorporate some emails that are in a csv file, all sorted in one column, into a mySQL database.I dont find the way to open the CSV file in ADO

View Replies View Related

Page Is Not Opening

in my database customer name is mike o'lee, i am creating one reason forum by using asp script and call customer name from database by using link syntax. when i trying to open the reason forum it displaying the error message like page is not found.

The problem is in single quotation which is present in customer name.I now how to remove the single quotation ,but use want to see the same customer name. how i can open the page,by using same page.

View Replies View Related

Opening New Window

I have this code

response.Redirect( "/mailer/TestPDF.asp?referenceNo='" & checkRS("RefNo") & "'" )

but i want to open it in new window..how can I do it?

View Replies View Related

Opening Asp Pages

I donloaded a web application form the web which includes couple of asp files. So when I open index.html and click on the links to those asp files, instead of running the code inside, my browser tries to donload them.

It opens a save dialog box and asks me where I want to save this already existing asp files. Does anyone know solution to this problem?

View Replies View Related

Opening A New Window

How exactly do you get a window to open withing the current browser (ie) without it going to the taskbar as a new window. example password hint .

View Replies View Related

Opening A File

I have a configuration.txt file and would like to open that file in a browser for editing onclick of a button or hyperlink!! It is more than enough for me, if i just open the file as it is in a notepad itself, by clicking a link from the ASP code.

View Replies View Related

SQL Server - Update/Insert Multiple Cols Into Multiple Tables

Just as the title says I am trying to do something impossible with a single SQL statement. I am doing an ASP webpage for internal use at the company I work for.

I want to know if there is a way to insert/update data into multiple tables in 1 SQL statement.

If it requires functions | views or anything else that is fine but I don't want to have 3-4 different SQL statements to update 2-3 different columns in different tables.

View Replies View Related

Searching Multiple Memo Fields In Multiple Tables In Access

I have a search option on my website, which should perform a search on 4 fields, as follows:

tblNews
headline
content

tblDatabank
filename
description

It only needs to return matches which are an exact match of their search criteria. For instance, searching for "I am here" would return a record which contained "I am here", but not just "I" or "I am" etc.

I need to return all these records as part of one recordset preferably, as I want to be able to order them etc., though I imagine you may suggest I use an array somehow to merge two recordets etc., then reorder them?

View Replies View Related

Opening DB Connection In ASP File

I am trying to open a DB connection in an ASP file (with an HTML interface). I have some idea how to do it, but I am not quite sure. It is linking to an Access DB. It is very simple, I am posting some data to the DB. Only one connection is needed to open.

View Replies View Related

OnClick Window Not Opening

In the following snippet of code, I can not get my openBrWindow command to work. Does anyone see anything that jumps out at them that is obviously wrong? Code:

View Replies View Related

Opening Linked Tables

I have an Access DB that has a linked table to a SQL Anywhere DB. When I try to access this Access DB, it prompts me the first time every time for username and password to the SQLA DB. This isn't a problem when it is just me that is working on development, however,

I figured MS would have something good to say about this issue, so that my users can use this DB as well. MS says I need to pre-open the table using the same credentials for both DB's. I have tried this several ways, and am still unable to open the linked access DB.

The error I get is that the DSN=xsellvehicles (this is the DSN that is used by Access to open the table that resides in SQLA) can't be used because the username or password doesn't work.

View Replies View Related

Opening A Window With New Session

I want to open a new window from ASP page, which may not inherit sessions values from its parent.

I'm opening a new window (JS:window.open) from an ASP page, the child window inherits all the session variables from parent (thats what i dont want). and if I write session.abandon in the child ASP file, it also destroys the parent 's session values.
how I can open an ASP page in new window which doesn't inherit sessions from parent.

View Replies View Related

Error 2 Opening Registry Key

Recently, when I try to open files in web projects with visual interdev 6 I get this error message:

Server error: Error 2 opening registry key Software/microsoft/shared
tools/web server extensions/ports/port 80 .

Well, just in one project I can open its files. I don't know why is the difference between this project and other projects.

View Replies View Related

Print PDF From Web Page, Without Opening?

I'm on a project for a government application. For a given domain object, there is a report that is pre-generated, converted to PDF, and stored in the database.

The client wants to have a list of these domain objects, each one with a print icon at the end (which is already done).

The problem is when they click on the print icon, a postback is acceptable, but basically they want to hit the database, download the PDF, stream it to the browser, and print it, all without any pop-ups.

In short, other than the blink of a page for a post-back, they want Win App functionality of clicking print, and a PDF printing without any other interaction (downloading the PDF, file-> print, etc).

Since its a PDF, I know this isn't possible with Javascript. I have no experience with ActiveX whatsoever, so I was hoping for advice on whether this was completely impossible, and the level of effort involved.

I think its impossible, but I want to at least say I've done my homework before I tell the consultant that who thinks it can be done.

View Replies View Related

Script Debugger Opening

I am coding in ASP. When there was an error in my code, it used to come up in IE and tell me the error and the line of the code it was on. Now, it's opening Script Debugger on the server all of a sudden, and I no longer see those errors in IE. Does anyone know why this is happening and what I can do to stop it?

View Replies View Related

Opening File Problem

I have a field in the table that saves pdf file paths:

there are 2 records like this:

/docs/one.pdf
/docs/one&two.pdf

what i do is display the paths on the page and when people click on it the file is opened

this is how i display the paths

<a href="<%=RS("Path")%>"><%=titlename %></a>

the first file one.pdf opens up
the second file one&two.pdf doesnt open up

if i change the name of the path in the table to

/docs/onetwo.pdf it works

so i found out the & is causing the problems

can someone tell me how to fix it.

View Replies View Related

Opening Microsoft Outlook

I have a Windows 2003 server running IIS 6. On the server I have about 100 websites. I want to place a file on the server and have ALL sites include it on a web page(s). I tried this

<!-- #include file="C: est.inc" --> but it comes back File can't be found.

View Replies View Related

Opening Files Via Intranet

Done something with php and C/C++ sometimes. Problem:

I'm making intranet to my office and would like to open files from intranet (shared ms-net) directly to excel.

if I use a-tag those files open to IE and are read-only. I asked some ppl and they adviced to use header (theverychap from phpfreaks did this with php and it worked fine) but I can't get IIS to work right. Code:

View Replies View Related

Opening Simultaneous Web Connections

i'm looking for a way to simulate, say, 10 simultaneous connections to an especific Web page, i'm using ASP and Javascript, this is the code:

<%

for i=1 to 20
%>

<SCRIPT LANGUAGE="javascript">
<!--
window.open ('http://www.thepage.com')
-->
</SCRIPT>
<% next %>

The problem is that the "for" opens consecutive windows, not simultaneous windows. Is there a way to achieve this using ASP and Javascript?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved