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?
I'm looking for a working example on how to share session state between ASP and ASP.NET.The solution of Y Yeung of Microsoft seemed to be a good solution but I did not get the asp part working.Anybody tips, tricks, links ?
My web host gives me two servers, one normal server and one that has SSL on it. When my web page goes to the SSL server I need to read the session variables from the original normal server.
Does anyone know how to go about doing this? The obvious way would be to send a variable with the url and get it with the queryString but I dont want to do that as the customer can see and change things I don't want them to.
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.
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.
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.
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?
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.
I have an intranet application in ASP running on Win2003(IIS6). Users log in on ASP pages. If I create an ASP.NET application to run on this intranet will the Session variables from the ASP session be carried over to the ASP.NET application or would I have to create another log in screen in the ASP.NET application to authenticate to the same database?
Does anyone know of a quick and easy way to stream a particular share price eg: msft into one's website....I have done a google search but I am not finding anthing specific...is there an asp solution?
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:
I've setup several FTP shares on IIS 5, where some of the shares are located on another computer, while other directories are on the local computer.
Is there a function similar to server.mappath that I can use to return the physical path of a FTP virtual directory using ASP?
For example, I have a virtual directory called TestA located at C:TestA on the local computer running IIS 5. I have another virtual directory called TestB located at DevserverTestB where Devserver is another machine on the network.
In my ASP code, I need to be able to access the physical directories directly and I would like to avoid having additional code to deal with hard coded directory paths.
Is there something similar to the command server.mappath("TestB") which would return "DevserverTestB"? This way, the physical path is transparent and I can treat local and network shares in the same way.
I'm trying to figure out a quick script that will let me link to a server share where the server could be 1 of a couple of different ones. The share will always be the same, but the server could be any of a list of maybe 5 or so choices as such:
server1share$ server2share$ server3share$
I'd basically like the script to check the different servers until it finds the one where the share exists, then redirect to it. The share will only exist on one server, but which one it is will change.
I have 2 web servers both running win server 2003 with iis 6.0. On my PROD server I have a virtual directory called CONV. It points to a folder on the C drive of this PROD server.
On my TEST server, I defined a virtual directory called CONV. It points to a share called prodservernameCONV. Note that the share name is the same name as that of the virtual directory.
Using IIS on the TEST server, I can navigate to this CONV virtual directory and via right mouse, click EXPLORE. I see all the content I should but when I try to doubleclick on a file I get a message saying "Security alert" - "your current security settings do not allow you to perform system commands on this item".
I've tried everything I can think of on the security settings for the physical folder on the PROD server. I extended EVERYONE from READ, etc. to FULL CONTROL. I added the user called INTERACTIVE and gave it full control. In short, I am stumped and guessing now.
Basically, I just want to avoid duplicating all the data files on my PROD server over to my TEST server.
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 ??
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:
I have two machines, one generate files, and copy to the other. I try wscript.shell in my program, but it dit not work.
The two machines are not in the same domain. I saw some people's question but not suitable for me,their machine are in the same domain. They can assign permission to do the job.
I have a Development server that is running Win2k, IIS 5.0, and ASP enabled. I am trying to gain access to an Access 2000 DB located on a file server within my domain. I'm pretty sure I have all the correct permissions set, but I am having problems when trying to access the DB.
The error is similar to:
The Microsoft Jet Database engine cannot open the file '******'. It is already opened exclusively by another user, or you need permission to view its data.
I'm looking for ways to fix this... Microsoft suggests turning off the ability for IIS to sync passwords. Unfortunately, this is not a viable solution for me.
Is it possible to create a new virtual server that is a share to my file server? Put my ASP and MDB file in there and have it work? Anyone have any other ideas?
i am opening a file by window.open by clicking on a button. how i can validate that button is clicked or not. means file is opened or not through javascript. all time button.clicked returns false although file is already opened the code is: if(document.frmBuyers.bankbtn.Clicked!=true) { alert("Enter The Bank Details") document.frmBuyers.bankbtn.focus(); return false;}
how to Positioning new Window near the button i've made, in this case i have a Calendar Button, but the position window that open the calendar can't be fixed, so when I scrolled the page behind calendar window, the calendar window moving too.... I've read from the MSDN, but there's no way too fixed the coordinate point to the calendar button
I have a simple asp page that draws 3 fields and a hidden "Row_Id" from the Database. I want to be able to click a "more info" link and take the Row_Id over to a new page which displays all the info for that particlular user. Would I use a response write method? I can get it to work using a form button but It wont open in a pop up.
Is it possible to have a pop up window come up once someone logs in. Inside this window, it have a video of another person with a greeting, and other information? Has anyone ever done something like or similar? Other than ASP, what other technology is needed, FLASH? Come someone show me an example of something like this? All help is greatly appreciated. The thought is to distribute these pop up windows (or better solution if someone knows of something better) to all our dealers across the nation. Each dealer will have its own personal inside sales rep and direct line for personal assistance.
i have to pop-up some reminders in a new window to the users . it is just like when we open a website ads related to that site come in new window.
what i have to do that , when a specific user logs in , a new window will open to remind him about some thing. i think , you will be getting my requirement.
I am developing an web application in asp.net using visual studio 2003, where a user have to fill some description. Along with simple text, the user may need to paste some hyperlinks and images. (like a yahoo composer window).
i have quotation_start.asp which was set to be a small window (height=250, width=500). there is a YES button and some data on this page. when user clicks YES, data will be saved into database, quotation_start.asp will be closed automatically and a new page, quotation_admin.asp will appear in the main window at rightFrame. everything is ok except the quotation_start.asp never close. it remains there. here is the code: