VS 2008 Multiple Sessions - Different Web Browsers

Sep 10, 2009

I've thought long and hard on how to do this. Since I'm posting here, you see I haven't figured it out. I've found out how to login to a website with GetElementById, but I have another problem. I need to login with multiple web browsers. But when I login on the second, I can't because the session/cookie is already there. I thought usnig a proxy would work, but that just applies to both web browsers. Using the example below, would it be possible to apply this to only one web browser? Or make separate sessions for each web browser control?

[Code]...

View 2 Replies


ADVERTISEMENT

Enable Multiple Sessions For WebBrowser?

Dec 6, 2011

Even after numerous attempts, im unable to set different sessions for multiple webbrowsers (in tabs ) hosted on the same windows form.

So far, i have tried the following methods (and failed)Created a new form for each session (The WebBrowsers share the session)Used HttpWebRequest,HttpWebResponse to get and set separate sessions for each webbrowser ( Couldn't implement this properly)Could someone please point me out to a proper channel on how to implement this ?

View 6 Replies

Allow Multiple IE Browser Clients With Unique Sessions In IIS 6.0?

Mar 2, 2011

I have a ASP.Net VB.Net application, which I developed an deployed in about 2004. I have just upgraded it to a new server and IIS 6.0. The application requires users to login from IE it and maintains their State using sessions on the server. I would like the users to be able to have multiple browsers open, each running with unique data on their client system. Is this possible, if so, what do I need to do?

View 4 Replies

Prevent Multiple Sessions Of A Program From Starting Up?

Nov 17, 2009

I have built and deployed an application in VB2008. If I start the program from the start menu a new session will start and there 'll be multiple sessions of the same programming running. I dont want this behaviour! I want the program to start only when no other session of the same program is running. How can I do that in VB2008?

View 9 Replies

Multiple Web Browsers In One Form

Dec 18, 2009

I have an application I made to monitor IP cameras. Right now I just have a button for each camera, so that when they want to swithc to that camera, all the user has to do is click the button to switch to that camera.What I would like to do is set it up so that I have multiple web browsers on the form, each one for a camera. However, the problem is that the actual video feed is in a small section of the web page, so the user would have to scroll to the right position for each web browser to be able to see the video feed.What I want to do is configure it so that when the page loads, it automatically scrolls to the right position so the user can see the camera feed for each camera (each in it's own independent browser) without having to adjust each browser.

View 4 Replies

When Using Multi Threading - Use Multiple Browsers?

May 3, 2011

I came across this app yesterday which looked strange to me as it had about 20 web browsers popped up and running all 20 processes seperatly.

View 2 Replies

Accessing Multiple Sites Multi-threading Or Multi Browsers?

May 14, 2011

I have a need to build an app that will access about 10 websites and pass data to them, etc.I've read about something called multi-threading when searching Google. I've also seen people say that they use multiple browsers.Which route is better to use? I figure if you have to do some sort of multi-threading that you would access a single browser?

View 2 Replies

How To Monitor Web Browsers In Vb 2008

Apr 14, 2011

I am making an antivirus program in VB 2008.Everything has gone well,but I am having trouble with web browser monitor.The following are the tasks of web browser monitor:

1 - Whenever the user tries to open a web page in any web browser,it must return the url and html code of the web page to the antivirus.In my program, i have the following function to check whether a given string contains virus codes

[Code]...

View 10 Replies

VS 2008 Detecting Existing Web-browsers Installed?

Apr 6, 2009

3 things , 1. how can i detect all the existing web browsers installed on the computer (IE , Mozilla ect'...) and put it in a combobox or something like that. 2. after i detect and select a browser , how do i launch that specific one? 3. how can i know which one is the default browser

should i see if the browser file exists ? ( IE7.exe, ect'....) or is there a more simple way ?

View 2 Replies

Access Sessions In Asp.net Handler ?

Apr 13, 2012

I am trying to upload images using generic handler as shown below and I have a normal aspx page where I am showing all the uploaded images after uploading.Everything is working fine.

CODE:

Now I want to add a session variable by generating a random string and add the uploaded images to the newly created random string.

1.I have seen this Question on SO to use System.Web.SessionState.IRequiresSessionState for sessions and how do I create a folder with that and add my images to that folder after doing that how do I access this session variable in my normal aspx page.

2.(Or) the better way is create session variable in aspx page and pass that to handler?If so how can I do that?

3 .I am trying to find the control from my handler.Is that possible?If anyone knows how to get this then also my problem will get resolved so that I am trying to create a session from m aspx page.

View 1 Replies

Secure User Sessions In ASP .net Using VB?

Oct 5, 2009

procedure to create multiple secure user sessions in ASP.net.

View 1 Replies

Shared Methods In ASP.NET Sessions

Feb 25, 2011

As a followup to the previous question I have asked "ASP.Net Architecture Specific to Shared/Static functions" I am still struggling to understand the implications of using shared methods in ASP.NET.

So for example let us take the following code.[code...]

View 3 Replies

IDE :: Keep The Size Of The Properties Window Across Sessions?

Apr 10, 2009

When I start working on a Project I like to change the size of the Properties Window. (I like to make it taller than it is by default). But each time I start a new Project the Properties Window goes back to the original shape/location. Is there a way that I can customize the layout of that window so that the shape is retained across sessions?

View 6 Replies

VS 2010 Different Applications Share Same Sessions?

Oct 19, 2010

just wanted to ask if it is possible to have different applications sharing the same session (i.e. database session)... i'm planning on creating a web-based application and a form-based application using asp.net for web and vb.net for forms but i need to have them share sessions since some global variables will be session based and also authentication to one application should also authenticate on the other.

View 2 Replies

VS 2010 Passing Objects And Sessions?

Aug 21, 2011

I was wondering if someone could tell me if this is "bad practice" or is a perfectly acceptable way to pass an object to another form.I've cut out a lot of the code to summarise what im asking.

[Code]...

Dim myRetrievedObject as myObject = Module1.returnSavedObject()Is this a acceptable way of passing an object between forms or is it a completely bad idea?Ideally i would like to be able to "add" further objects to the initially created object in Form1 but then on reloading of Form1 , retrieve the new version of myObject with the newly added objects within the myObject class.My initial thinking is this creates an almost session like state for the initial object. So you can use the same object over all 3 forms or more and just simply add to it like a shopping cart type of functionality.

View 10 Replies

Best Way To Maintain An Autocomplete / Suggest List Across Sessions

Apr 7, 2009

I would like to maintain a list of all of the strings entered into a ComboBox across all uses of an application on a given PC, for use as the AutoCompleteSource for that ComboBox, i.e., I enter in "Fred" in the ComboBox, commit the data, close the application, reopen the application, reopen the ComboBox, type "F", receive the suggestion "Fred".Assuming I already have in place code to create and maintain such a list in memory and add new elements to it as they are entered into the ComboBox, etc., what do you suggest as the best way to save/load this data in between sessions?Possible complicating factors: This application will be deployed via OneClick deployment, and will search for updates online every time the application starts. I would prefer that if the application updates, the list still exists after the update has completed.

View 2 Replies

IDE :: WebBrowser Control - Navigate To Page That Uses Sessions

Apr 5, 2010

I'm using a webbrowser control in my program and I navigate to a page that uses sessions. I need to delete them somehow and I tried to close IE and enter it again and it worked, the sessions were deleted. But I've done it manually, and I need to do it through my program, so is there a way to imitate the closing and reopening of my webbrowser control?

View 3 Replies

Using Specific Sessions Calls In *.aspx Pages?

Apr 22, 2009

I am using specific sessions calls in my *.aspx pages and i have 2 questions related to this:

1-Is there a difference between using this type of session declaration in your aspx age?

HttpContext.Current.Session.Item("Whatever") VS Session("Whatever")Would this give the same information for a specific user?

2-Is using Session really User Specific data? I know you can share information using cache but is there possibilities that we have 2 different users (different browsers) that would share information threw sessions. Keep in mind that i am using SQLStateServer for my sessions

View 4 Replies

VS 2005 AxMSMAPI.AxMAPIMessages / Sessions Is Not Defined?

Nov 2, 2009

Some of you may remember threads I posted a couple of weeks ago about a VB.NET application I've built where I want to have a form open that allows the user to create and send emails. So the form works absolutely awesome on my PC. Day before I went off on vacation, I installed it on my co-worker's laptop and ... it didn't work. The utility starts, but the Email form doesn't work. In the Unhandled Exception error message, AxInterop.MSMAPI Assembly Version 1.1.0.0 is listed as installed; however, when I run the application through Visual Studio2005, I'm getting the two following messages:

Type 'AxMSMAPI.AxMAPIMessages' is not defined
Type 'AxMSMAPI.AxMAPISeession' is not defined

I've gone into the References but the MAPI Reference is not available (which is probably because the assembly is loaded).

View 4 Replies

WebBrowser Control - Navigate To Page That Uses Sessions?

Apr 5, 2010

I'm using a webbrowser control in my program and I navigate to a page that uses sessions. I need to delete them somehow and I tried to close IE and enter it again and it worked, the sessions were deleted. But I've done it manually, and I need to do it through my program, so is there a way to imitate the closing and reopening of my webbrowser control?

View 10 Replies

Ajax File Upload Unusual Behaviour When Using Sessions

Jan 30, 2011

I have just implemented an Ajax File Upload control that uses a progress bar. I am a little confused. When i use the control on pages that dont use sessions, the progress bar with no problems will show the user the actual progress of the file being uploaded from 0%,1%,2%,3%.......% to 100%. Now when i move this control onto a web page that uses a session, this session stores the user information such as screenname, email, etc... the file uploads with no problems but the problem is that the progress bar does allow the user to see the progress until the file is finised uploading and the progress bar jumps straight from 0% to 100% uploaded and doenst really show the full progress of the file whilst being uploaded.

Why is this behaviour occuring when i use sessions? where the progress of the file being uploaded isn't being shown to the user until the file uploads.

View 1 Replies

Modern Software Development = Series Missing Sessions 10-15

Jun 7, 2010

Links are broken for webcast series "Modern Software Development in Visual Basic .NET" for sessions 10-15 located at URL

[Code]...

View 2 Replies

User Login System Using SQL Express And Storing Sessions?

Aug 9, 2009

I am trying to create a system for users to login and have assigned roles ie user, manager, admin etc. but i cant seem to find a way to do it my code for login is below

Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Login_btn_OK.Click
Dim conn As New SqlClient.SqlConnection
Dim command As New SqlClient.SqlCommand

[code]....

Just after a way to recall user credentials to display appropriate content depending on their role?

View 7 Replies

VB - Multithreading With Synclock - Threads With Different Sessions Run Trylock Simultaneously

Jan 31, 2011

i have some test code which i run at every load of a page in my asp.net website [Code] the "dotrace" simply add a record to a log table in the db. now the right result would be that i should have the entries in the db in order "entered","exiting","exited" but actually when i look in the db i see first 2 "entered" then 2 "exiting" etc. meaning that the multi-threading is working ok, but not the synclock. is that correct?

and how can this be fixed? the real code will be adding records to the db and might be called from several pages of different sessions, but the same code must not run twice concurrently. if i open multiple pages at once, they still clash some times. but if i'm correct, the issue is now not with the synclock as much as with the httpruntime.cache, because when using a standard property, on one page, the code works 100%. so how can i make sure that 2 threads, even from totally different sessions never run the trylock simultaneously?

View 1 Replies

.net - Error When Rolling Out Software Revision To Terminal Sessions Instead Of Desktops?

Nov 15, 2010

I'm doing some maintenance on some software originally built by my predecessor at the company (who has since moved on to greener pastures). I'm currently rolling out a new version of the software. At this company, the installation procedure is basically to just shove the /bin/Release directory out into our automated program updater's magic directory, allowing it to automatically copy the contents of that directory over to the local /Program Files/ and let the magic happen. The magic always seems to happen, so there's no big issue, there, although it does weird me out somewhat, after many years of .msi installers...

[Code]...

View 2 Replies

Possible To Add Reference To Other Browsers?

Feb 24, 2010

The web browser in vb.net is using IE or maybe its not even a web browser. Maybe its the primitive browser in windows that came before IE. Is it possible to change the browser that is used by the vb.net web browser (dragged from the toolbox)? Maybe through the add reference?

View 2 Replies

Track All Url's That Browsers Are Going To?

Oct 1, 2010

Is there a way to track all url's that browsers are going to?

View 3 Replies

Access Mozilla And Other Browsers Using .net?

Oct 19, 2011

i use SHDocVw to access current internet explorer and list the open websites and it works !but how can i access other browsers like mozilla or safari or ... to get open websites ?

View 1 Replies

Asp.net - JavaScript / Dealing With Different Browsers?

Aug 23, 2011

my code works fine in JavaScript but doesn't work correctly in Firefox or safari and wondering why. What I'm doing is I have a loop going through each element and depending on the variable inside a text box just want to alert something. Like i said earlier this code works fine in IE. Here is the code below:

Here is an example of text box:

<asp:TextBox ID="txtMac" runat="server" req="yes" errMessage="Mac"/>
for (a = 0; a < theForm.elements.length; a++) {
if (theForm.elements[a].type == "text" && theForm.elements[a].req == "yes") {
alert("Made it here")
}
}

View 5 Replies

Creating A Proxy For IE (or Other Browsers)

Apr 2, 2011

I'm using VB.net. I need to create an application that sits in between the browser and the actual internet. Basically, I'm creating an online game that will edit some webpages that are incoming so that they contain parts of the game (it's a kind of scavenger hunt). How would I create this?

Does anybody have any ideas for this? I've found nothing online. If you do know something about this, I prefer code examples and not just subjects. I tend to need big pushes in a direction to learn something new.

View 1 Replies







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