Session And Opening A New Window

Is there a way to tell if a user (IE6) is opening a new window to the same session. ie. both (or more) windows are looking at the same info.

Just a clue as to how to determine this would be helpful. Server is running .asp and the client is always IE6. asp, vbscript, jscript or dhtml clue would be great.

View Replies


ADVERTISEMENT

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

Opening A Window In The Same Session

We have several apps that a user logs in at on the same page. The app
is determined by a drop down. User credentials are checked,
response.redirect to the application. The user ID is stored in a
session variable which determines if the user is logged in. When the
session var goes blank, the user is redirected to the login page. A
header on each page checks this.

Now, some parts of the app send an email out to a specific row. User
clicks on link in the email, a new browser is opened, user logs in, and
is forwarded to the app, AND the specific record that was in the URL.

What I would like is when the user clicks on the link in the e-mail,
the existing browser window is used. I know this can be done because a
colleagues Stock Trading program works in a similar way. He gets 3
emails. If he clicks on the first one, it take him to a login, and
then is forwarded to the details of his stock trade.

If he leaves that window open, and clicks on the next link, the details
of the stock trade are brought up in the existing window without him
logging in. I looked at HTML to see if they're doing any tricks in the
HREF, but it's just a link to a an HTML file.

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 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 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

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

Redirect And Opening A New Window

I am creating a redirect on our web site, and am wondering how to open a new window when the person is redirected.For example, the redirect below works correctly:

<%@ Language=VBScript %>
<%Response.Redirect "http://www.boston.com"%>

But what code would I add to make this open a new window. I am kind of self-taught and obviously not that knowledgable in this area. When I experimented and tried to plug in target="new" in a few places, it did not work.

View Replies View Related

Opening Ne Window OnClick

How can I change the following client side javascript to open the referenced asp page in a new window:

Response.Write "
<td align=""left"" nowrap
onClick=""javascript:document.location=my.asp?ID1=" & ID1& "&ID2=" & ID2&"';"">"

For now it work perfectly excect that it opens in the paren window.

View Replies View Related

Opening A New Window With No Toolbars Etc

I have a page where the ASP script create a table of links:

i.e.
1 = NextPage.asp?Item=1
2 = NextPage.asp?Item=2

etc

What I would like to do is open an new window with this link without any
toolbars, addressbars, scrollbars and tabs. I would be happy even if the
control to limit the appearance of the new window was in the new asp page.

View Replies View Related

Opening And Closing A Window

When i select a order ,a new window opens up .I select the name from the new window .This window also has a submit button(there is a insert statement which gets activated on submit).

wht i want to do is when i hit submit ,the window should get closed and should be redirected to the previous page from where i actually got this window i.e by clicking on the order at the start. how should i attain this?

View Replies View Related

Opening Confirm Message In New Window With JS

I have the following ASP code which displays a confirmation message when a particular form is successfully submitted. What i need to do is open the message in a blank (_self) browser window. Can this be done using ASP or would it have to be done using Javascript?

Code:

View Replies View Related

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

Window Share Same Session

I was using ASP and Javascript I have a problem with the Session in IE.
When a user opens a new browser window with the file->new window menu item or ctrl N, it shares the sessionid cookie with the original window. That mean both of the window share the same session.I want a new window created refer to diffirent session. How can we solve this problem?

View Replies View Related

Session Ends With Window.Open() Call

I have a very basic ASP application in which a user is authenticated,
a flag is set in a session variable, and a new window is opened. The
file opened exists in the same application directory as the file which
sets the session flag. After calling the window.open() method in
javascript to open my new file, the session id changes. This is very
very bad.

After a week of scouring the groups, I have noticed a ton
of other people having similar problems, seemingly a remnant of the
"Browse in process" errors, however; microsoft says the problem is
resolved by upgrading to IE 5.5. Well, I have IE 6.0.28, and the
problem persists.

Has there been any resolution for this bug in internet explorer? If
there isn't a resolution yet, what types of SECURE workarounds are
available? How am I expected to use the session feature of ASP if it
doesn't work across browser windows?

View Replies View Related

Open New Window BUT With Session Variables From Previous Form

My page shows details of a work request. It has a number of buttons: one to go to a search page, another to make a copy of that page, and so on.

What I want the user to be able to do is, click the 'Copy' button and have the details from that page passed to ANOTHER page, ready to submit a new request. Basically, it's just a quick way for users to submit new requests, using a previous one as a sort of template.

This all works using a client-side function in the details page, which simply calls the submitting page using document.submit. However, this uses the same browser window, overwriting the "old" page.

I want a new window to open and have it read the session variables created by the details page. I've tried 'meta http-equiv='refresh' content=1...' and, while that opens a new window, it doesn't read the session variables. Similarly, the gazillion JS scripts I found on the web do pretty much the same thing.

View Replies View Related

Window.open Destroys My Parent Session Values

When a open an asp page from a modal window through window.open, my session values of parent(the screen that invoked the modal window) are lost.

View Replies View Related

How To Pass Values From Parent Window To Popup Window In Server Side?

1. I have a form, with a textbox and a button. I have to enter a value in the text box and then i have to click the button, which opens a popup window. Here i want to pass the value of the text box which is entered in the parent window to popup window.

I have to use that value in the popup window's form_load event in the Code behind, and i have to take the values from the database using the value which i have entered in the parent window. Code:

View Replies View Related

How To Return Selected Value In One Window To A Main Window

I want to provide a lookup facility for users to select a code from a list. I want this to be done in a small popup window, which, when a code is selected, will close down and return the selected value to the main form. Can this be done ??

View Replies View Related

Keep Value's Of Opener Window When Return From A Popup Window

I'am not familiar wit ASP but I have to maintain an application. In a window there are some text selection fields and a search button. If you press on the search button record list is build according to what is filled in the selection fields. You can select a record and then a detailed window is shown or in another occasion a popup window is shown.

The request is now if the opened window or popup window is closed, then the opener window has to be opened with the same content (content selection fields + record list) as it was before the window or popup is opened.

Now I thought that I have read that every window which is opened gets an ID and that it is possible to call up that window by the ID from the cache again. Is that right? And if so? Or has somebody a better idea. 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 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 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 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







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