Example For A VB Application Creating Multiple ASP Sessions?

We have an IIS+ASP based application server that is capable of providing
complex reports to hundreds of users but in some circumstances these reports
can take a long time to create. However the data for the report is cached
so subsequent calls to view the same report come back with a sub-second
response time.

In order to make use of this caching we pre-prepare some of the reports by
getting back a list of potential users from the server and then executing
reports on their behalf. When the real users log in the report is served
from the cache.

I wrote the warm caching application using VB6 and it uses XMLHTTP requests
to execute the reports. However because ASP serializes the requests to the
server the application can only have a single session open with the server.
To get round this I spawn multiple instances of the application, each
instance then has its own ASP session and the server is loaded more
efficiently.

The question is how can I create multiple ASP sessions from within a single
VB application and have each session handle its own XMLHTTP requests? Its
obviously possible as MACT, OpenSTA and LoadRunner all achieve it.

View Replies


ADVERTISEMENT

Reg Creating Sessions

I have a job application form that includes 4 pages. The problem is for example when a user fills up 2 pages and if comes back by hitting "Back" button, and changes/updates the form, and then hits the "Continue" button, the form is creating a new id after hitting the continue button. So it is creating multiple records for the same user creating multiple ID's. I kind of know the solution, that if i create a session, the problem will be taken care of. But don't know how to create session.

View Replies View Related

Multiple Sessions

I have 2 sessions that get created. One when the user logs in called
"uname" and another called "idrma" when that user choses to begin a
repair request.I know <%session.abandon% will kill both sessions,
how to I only target one?

View Replies View Related

Multiple Sessions

On the website I have 3 levels of access: prospect, established clients, admin. When they register under the established client level it sets them as ec when they log on. When the admins log in their sessions is admin. the problem I am having is that the client page is basically the full inventory of our products but I want the admins to be able to view it also. Can Set it up so that it could check one session or the other? like....

<% Option Explicit
if session("ec") or session("admin")<>true then
response.redirect("/login/login.asp")
end if
%>

View Replies View Related

Multiple Debug Sessions

We have a development iis6.0 server. Multiple programmers are developing independent applications. Non are sitting on the machine they all develop on their own system. Regularly they try to debug and receive the following error.

Error while trying to run project: Unable to start debugging on the web server. A ebugger is already attached. Would you like to disable future attempts to debug ASP.NET pages for this project?Does this mean each developer must run IIS on their own computer?

View Replies View Related

Creating Webmail Application

Im in desperate need of in creating my own webmail application. My server is ASP and .net enabled, but i do not have access to install further components so registerring dll files is a big no no.

I need help in creating code that can access a specified pop3 server using given credentials, preferably in asp but i can also use basic .net.

Does anyone know of good source code or what standard components in the ASP or .net environment have the ability to access such data? Or if you just know a few basic lines that i can use.

My website is just a small group of friends and we cannot pay for anything so its up to me to get this setup for us. I can send mail but not receive from POP3.

View Replies View Related

Creating And Debugging A Web Application With A Remote IIS Server

how I can create a web application that is created on a remote server and debug it locally in Visual Studio 2003 ASP.NET 1.1.?

View Replies View Related

Creating Architecture Documents From Existing Application

we want to create some documentation of the architecture in an existing
ASP application. Can anyone suggest some document types to use to make
it easy to understand the application?

This could be UML type documents or otherwise.

View Replies View Related

Application At Multiple Location

i m developing General Ledger application in asp.my company is located head office at south and is branch office in west so i have to developed an application that data related to south they can post there data.so as well as west.now problem is that what techniquei should use.

In my opinion i can create administrator login form where person in south can log on with it and enter his data while same as person in west. or what should i use.

View Replies View Related

Creating Multiple Drop-Down

I'm either way too tired or this is a bit above my head. I have a database (access) with four fields. One field is a unique id (rs("id")), one is a category (rs("category")), the third is type (rs("type)), and finally a title (rs("title")). There are and will always be seven types, numbered 1 - 7, with each type identifying a category. To be more specific, 1 = appetizer, 2 = soup, 3 = main dish, etc.

What I am trying to do is to create seven seperate drop down list, one for each type. The options in the drop down list will each be identified with the id (rs("id") and the values for each option will be the rs("title") field. I am having a hard time in the Loop distinguishing when to end one select statement and begin another.

View Replies View Related

Application To Sync Multiple MDBs

I've got quite a few identical MDB files running on an IIS5 server. From time to time I need to go into various tables and add a field or two. It would be great if there were an application out there that could either: (a) sync all MDBs designated to match one I've added some fields/tables to OR (b) tell all designated MDBs to have an extra field(s) or table(s).

I've began writing something like this that right now just does part of (b) but I'd rather find something that is much more slick and complete.

View Replies View Related

Application Is Hosted By Multiple Processes

what mean of this application is hosted by multiple processes on the same server
When an application is hosted by multiple processes on the same server it is said to be a web garden environment.

View Replies View Related

Application Object :: Trying To Detect Multiple Logins

Im trying to detect multiple logins...

Im using a application object in my global.asa, for some reason it doesnt seem to work. here is my code

<script language="vbscript" runat="server">
Sub Session_OnStart
Session("LoggedIn")=0
End Sub

sub Application_OnStart()
Application("Logged")=1
End sub

</script>
In my pages if i print the Application("Logged") value, it does not show....

View Replies View Related

How To Restrict Running Multiple Copies Of A Web Application?

I have developed an ASP web application. If I sell this out to my client, how can I make sure that he doesn't run multiple copies of it. That is when I sell the web application my client should be restricted from running more than one copy.

View Replies View Related

Having A Problem With Creating Multiple Page Results

I am attempting to only show 10 results per page in my results page. I keep on getting the following error. Wrong number of arguments or invalid property assignment: 'MoveFirst'
Does someone know where i am going wrong? Code:

View Replies View Related

Creating A Single Binary Log In A IIS Server Containing Multiple Websites

I am working with IIS 5.0 and would like use the property CentralBinaryLoggingEnabled which if set true will create one single binary log file in place of a separate log file for multiple websites.

This property is available in IIS 6.0. I would like to know if there is a patch available for IIS 5.0 which will create this property in IIS 5.0.

View Replies View Related

Sessions To Database Sessions

We are planning to set-up a load balanced web environment. Accordingly, we are going to change the session management on our website from the classic ASP Session State and session variables, to a database method.

Does any one have any pointers as to how I might approach this, so that I can have the same sort of functionality the ASP sessions give without having to create database columns for each session variable I wish to create. I am thinking along the lines of some serialised dictionary or something that I can stick in a blob column.

View Replies View Related

Access VB Application From Web Application

We have our web-site developed in classic ASP, and I need to add this additional feature on one of the pages to access a VB application. How can I do that? The VB application basically sends output to the COM3 port and opens a USB-Cash drawer that is attached to it. I am not sure how to go about with this.

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

How To Update Multiple Records With Different Multiple Value

i hav problem with updating the data. In the asp page i hav displayed records based on search criteria. in display mode im displaying the to be updated field in combo box for each similar contract_no. each contract_no will hav different no of rows and to be updated combo box.

based on the selected value in the combo boxes of different contract_nos i hav to update the combo value with old value. user select multiple combo values at a time I need anybody's help with detailed programming logic.

View Replies View Related

Sessions

Can someone explain to me how you set a session and how you check the session?

View Replies View Related

Sessions

I created a session variable in an asp page as below:

Session("userid") = userid

is it possible for me to read that same variable "userid" in a seperate perl script? if so how?

View Replies View Related

Sessions In ASP

I have session time by default as 20 mints in iis.

I want to that to be increased by 60 mints in my application so that when user save changes after 21st mint the session should not be lost.

Can this be happen without changing the default time in iis since i have many other applications.

View Replies View Related

End All The Sessions

Any one know how to end all the session in asp application. Is there any other directive rather than '#include' to include a file in our Asp page.

View Replies View Related

Sessions

I was wanting to know if you could have a function within a session?Example:
Code:

<% Session("Message") = MyFunction() %>

Is that possible? Ok, maybe not "is it possible" but can you use the session message to dictate where the function outputs its data? Here's why I'm asking. I have an online testing app that when a person selects the wrong answer the correct answer (along with a bunch of other stuff) will be displayed on the page.
I'm getting it to display the correct answer and the other information, but the correct answer is at the top of the page screwing up my layout and the other information is doing what it should.

View Replies View Related

Ssl And Sessions

I am using an HTTPS connection and posting to an asp page that does a
redirect based on if the user is authenticated.

However, for some reason after the session is set and the user redirect
the session dies and the user logged out?

Any ideas?

The redirect looks like Response.Redirect "../welcome.asp".

View Replies View Related

ASP Sessions

I am using ServerXmlHttp in a client-side component to basically talk back to the Server within a webpage. I would like to be able to cache some information on the server so that when I callback, I do not have to reconstitue everything that I did for the intial request. However, the Sessions are different.

Is there a way to get the ServerXmlHttp session to impersonate the IE client session? Code:

View Replies View Related

Sessions

can any one tell me how to use sessions in asp for 2different users please?Is it straight forward? Never used them before, a friend said it is worth doing

View Replies View Related

Sessions And SSL

I'm trying to use a couple of Session variables within SSL.
My form submits to the same page and this is at the top of the page.

<%
Session("ShipAhead") = Request.Form("ShipAhead")
Session("Comments") = Request.Form("Comments")
%>

The form fields are populated but the Sessions are empty on my next page.
Am I missing something? Is there a problem with Sessions and SSL?

View Replies View Related

Sessions

I've just created a simple form that writes information to an
Access database using ASP. Everything works fine. My question is, would
there be any reason to use the session object other than for tracking
purposes.

Specifically, does a session have any inportance on multiple
users accessing pages and submitting the form inforamtion to the database.
I was curious about errors to the database with multiple users submitting at
the same time to the database. This is a small scale application and not
expected to have large number of hits. As stated I'm new to using ASP and
just wanted to get some input.

View Replies View Related

All About Sessions

I have used SESSIONS on mission critical pages on my site, and if sessions are not enabled / supoorted - these pages will fail. When and why would a session fail? They do not store any info client side,and rely on the server to store session objects in memory, am I correct? Would security settings or privacy controls ever stop sessions working? Which "popular" browsers dont support sessions?

View Replies View Related

Sessions

Are sessions stored on the server or the visitors PC?

View Replies View Related







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