Application Object ?

I am developing ASP application with complicated login system. There is several group of menu options. Each have form 5 to 15 sub-options.

User can work with any combination of options and sub-options and can see only these menu options which are allowed for him. "Rights rules" are store in SQL Tables and are getting after logon.

Now a questions:

1. what is the best way to store this menu structure (Session object is not allowed because it uses Cookies) ?

2. What is the best way to handle the "rights rules" ?

View Replies


ADVERTISEMENT

One Application Object

We have our web site setup on two seperate servers. They are connected together through a BIG/IP server. I'm not sure how many of you are familiar with BIG/IP (load balancing) but I'll give you a quick explanation:

When a user goes to our site, they hit our BIG/IP server first. This server looks at our two web servers and determines which one has more resources to spare. The BIG/IP then redirects the user to that server, where they are on the rest of the time they are on our site.

So we have two web servers with duplicate web sites running. My problem is I need to run one application object between both servers. Is this possible, or is there a work-around?

View Replies View Related

Application Object Links

Below you can find quick links to information about the Application Object. I would write a post like my CDONTS one, but I just don't have time, but when I do, I'll see if I can get one done.

An intro to the Application object, this its in JScript but its easy to change
Using the Application Object to Improve Performance

HOW TO: Declare an Array at Application Level Scope in Active Server Pages (Q165293)

A Real-World Example of Caching Data in the Application Object
W3 Schools Application Reference

HOW TO: Use the Application Object to Store ASP State

View Replies View Related

Can I Get To The Application Object In A Class

I am trying to get to the application object from a seperate class in my ASP
application and I dont want to pass the object in as the class is inherited
to lots of other classes. So i can have something like the following:

Imports System.Web.UI.WebControls.DataGrid

Namespace Classes.Inheritable
Public MustInherit Class EntityCollection

Implements IDisposable

Private mobjDataConnection As Classes.Databases.DBConnection

Public Sub New(ByVal strSQL As String)
mobjDataConnection = Application("DataConnection")
End sub

View Replies View Related

Application Object Or Variable!

The following code exists in a Global.asa file:

----------------------------------------------
<%
Set Application("Thing")=Server.CreateObject("THINGDOER.THINGY")
%>
----------------------------------------------

Will the above code snippet:

create a non-object Application variable named "Thing" & place it in
the Contents collection of the Application object?

-----OR------

create an Application object named "Thing" & place it in the
StaticObjects collection of the Application object?

View Replies View Related

Caching In The Application Object

There seems to be plenty of discussion about caching in the Application Object, however, I cant find any info on what realistic limitations there are and how they are measured.

What are the factors that will limit performance / storage of many individual or single large bits of data with application scope? eg database driven list boxes (that dont require up to the minute data) 10 * 100 options? 100 * 100 options? kb's? megs of info? How much can I cache?

View Replies View Related

Application Object Lost?

I'm having trouble with the workflow described bellow:

1. Asp page 1 on server A contains an iframe.

2. Asp page 1 submits a form targeted to the iframe, to Asp page 2 on
server B.

3. Asp page 2 runs in the iframe and at some point might decide to submit a
form targeted to the _top frame, to page 3 on Server B.

4. Page 3 loads in the top frame. Code:

View Replies View Related

Application Object And Close Connection

Rather than opening and closing a new connection to the database on every page, I have placed that connection into an Application variable. This has worked fine so far.

My issue is that I have a logoff page where it closes that connection.But this means that users who are on the application will not be able to access that connection.The obvious answer is that I don't close the database connection.But my problem is, I would like to eventually close that database connection.

How can I determine if an application variable (not session variable) exists?How can I determine that there are not any users on the application?

View Replies View Related

Application Object :: How Many Users Logged In?

My asp application allows a number of users to log into it. Each user has a different type of access level (General User, Manager or Administrator). I want the administrator to be able to see how many other users are logged into the application at a particular time. How can I do this? Would the use of an application object work for this?

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

X-Post: Cannot Set Application Object In IIS6.0, But Could In IIS5

We have pretty simple ASP (not ASP.Net) application, which has been running fine on IIS4 and IIS5. It has now been moved to a sever running in the DMZ and managed by a 3rd party. The server is Win2003 and IIS 6.0.

Within the Globe.asa file, have an Application_OnStart SubRoutine (Visual
Basic) and it bombs out on the first line:

Application("cnSecurity_ConnectionString") = "connectionProperties"

With the error:

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject failed
Globe.asa, line 25

View Replies View Related

Application Object :: Allow Only One User To Access Form

I'm looking for a way to allow only one user to access my web form at a time. so that if there is a user using my web page / html form.. then the next user is directed to another page. So only one user is allowed access at any given time .I was hoping there is a way to do this with Application variables.

View Replies View Related

Storing Complete Dbase Conn In Application Object

I am currently working on a small asp application. Now I would like to store the complete database connection in the application object. Note I want to store the connection NOT the connectionstring. For that purpose I wrote a small asp include which connects to the dbase and stores the connection object to the application object. However when I use this include in my pages then it doesnt work. What I am doing wrong? Here is the code:

View Replies View Related

Application Object :: Existence Of Variables, Resources And Locks

I'm using application variables for a web based sales tracking application. I use the variables for stuff like connection string, database name, etc. I store the values in a asp file that is included in a login page. The assignments are in a procedure that I then call on the login page. This is done everytime a user connects to
the login page.

what's happening to the variables? Are they being overwritten everytime a user accesses the page? I'm not checking for the existence of the variables. I just call the routine everytime the page is accessed. I know the values are shared for all users but, I was wondering if I should check for the existence of variables? Will it free up resources? Should I be using locks?

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

Arrays Of Dictionary Object Stored In An Object?

I'll admit my ASP skills are very rusty, and come seeking help.

I'm currently using a dictionary object to store a multi-dimensional array.

I want to pass this dictionary object to an object, which holds an array of dictionary objects.

However I'm finding that the array is not getting set, thus I'm having great issue with dynamically resizing the object's property for every new dictionary object I'm adding.

View Replies View Related

Can VB Com Object Used By ASP Get Events Fired By An Internal Object?

I have a VC++ COM object which fires an event. I've written VB EXE apps against it and they receive the event notification.

I've now built a simple VB COM object which uses the VC++ COM object internally.

My question is, assuming the ASP page which loads the object does not immediately exit, will the VB COM object be able to receive the events from the internal object?

View Replies View Related

Object Reference Not Set To An Instance Of An Object.

We are using .net 1.1 on windows 2003 server. This is we are facing in our
production server.

When we are doing the load testing we are getting the bellow error. While
the load testing this error is not coming frequently. When we run 20 threads
for 3 mins we are getting this error message 2 or 3 times. But this line of
code is executed by all the threads. Code:

View Replies View Related

Recordset Object Vs Command Object

I want to open a recordset object on an .asp page. When I open the recordset I would like to use a stored procedure that expects a parameter to be passed for the stored procedure. I will then use the recordset to loop thru the recordset, update values from the recordset and then update the database by passing parmeters to another stored procedure.

I would like to use the recordset object but can it be used to pass a parameter to a stored procedure? Do I need to use a command object to open the records instead in
order to pass the parameter to a stored procedure?

View Replies View Related

"Object Variable Not Set" When Object Is Neither Empty Nor Null?

I have a custom function for checking if a variable has been set or not to make the code easier to read, as well as to keep it shorter.

However, I'm getting errors that "Object Variable not Set", even after I've already checked for null and empty. Code:

View Replies View Related

"Object Reference Not Set To An Instance Of An Object"

A three-tier user authentication system was running without a problem for almost a year and now is suddenly dysfunctional. We don't know of any changes to any of the servers. It's quite maddening. The details:

1) We know the COM+ app is instanced on the COM+ server (Win 2000). The component graphic spins when CreateObject is called.

2) The proxy is installed on an IIS server (Win 2000) with delivers the interface, written in ASP, to the client PC.

3) These are the error messages displayed when a method of DAMS is called: Code:

View Replies View Related

Web Application

Sometime this morning our classic asp web application stopped
authenticating against active directory. This is our only "classic" asp
app that authenticates against ad. Note that this app has been in
production for three years with no problems. All .NET apps are
authenticating fine from the same server. This same classic asp app
authenticates fine from our development server. There have been no code
changes to this app.
We're using the login id and password to bind the necessary ad objects
- we check for err.number - if equal to zero, we're authenticated, if
not equal to zero then authentication failed.
We checked with the network people and they say ad is working fine and
the server is able to authenticate. The app doesn't go through a
firewall -so no hang up there. The guys who manage the web server say
they haven't made any changes to it. They confirmed that the app is in
the correct app pool so it doesn't conflict with 2.0 apps.
I'm stumped.

View Replies View Related

Web Application

I remember coming across a MS tool that would allow me to monitor the performance of all aspects of a DNA based application - all the way from the ASP level to MS SQL server. It was part of the NT resource kit. I am trying to locate this tool for Win 2000. Can someone who has come across such a tool help me

View Replies View Related

What Is Application()?

I've just been given some code to decipher in classic ASP and have come across this function (Application()) in several instances. I can't seem to figure out what it does?

View Replies View Related

Web Application

I am about to create a web application using asp and vbs to build an online
roster for a department of 25 people. The roster covers some 10 shifts a
day, 7 days a week always starting on a Sunday. I will be using an access
database file to hold the information. At this this stage I will hold all
the data for each week based on the date that the week starts.
I am looking for ideas on how to dynamically give the user the option to
choose any given week in any given year, always starting on a sunday. Could
this be created on the fly or would it be easier creating a database table
holding the dates for Sunday for a year or 2 ?
Once a week is chosen a check on the database will determine if that weeks
roster has been created or not. If not a user with the correct permissions
can then create it.The rosters are currently written out by hand. It is a labourious task which must have certain numbers of staff working each shift for a given day. By
creating a web application automating the checking process and making the
roster available online and by email will make life easier for all staff
involved.

View Replies View Related

ASP Web Application

i am trying to install my ASP web application to my client side server, but 1 thing i am worry is they my stole my source code to sell-over or they might modify my source code... how those software house which develop ASP web application they gonna avoid this?I know Microsoft have a program that can encrypt & encode ASP files and run properly in IIS.... But to bad... i also found the Decode program too
So what is the safety way to deploy my application to client without any worries?
Some might ask me go for .NEt, in this momment not yet toward .NET.

View Replies View Related

Application Uses

I am Geting the Error "Application uses a value of the wrong type for the current operation in one of my asp pages"
VB Method

oCMD.Parameters.Append oCMD.CreateParameter("@CustNo", adDecimal, adParamInput, 9, intCustNo)
oCMD.Parameters("@CustNo").Precision = 9
oCMD.Parameters("@CustNo").NumericScale = 0

For adDecimal Data Type Should i have to set Length as 5 instead of 9.
Is this causing the above or something else ?

View Replies View Related

ASP Application

I am trying to develop an ASP.net application
using Visual Studio .Net 2003. When I attempt to create
the project, it gives me an error stating that the IIS on
my hosting server may not be compatible and the active
directory cannot find the web server. The server is
running Windows 2000, IE 5.5. Is there some sort of
patch I can download to allow me to create ASP projects
on that server? Or something I should install?

View Replies View Related

Fax Application

I am trying to set up a fax ASP web (or vb 6) application and I want to use the FaxComEx.dll library that comes with winXP fax services. But I cant find documentation about this library.

I found something in msdn but it is very dificult to watch the logic that appeared. It's very confusing. Is there something else that can I rely to learn how to make a fax application?

View Replies View Related

Need An Application

I have a client that wants to have ticket system on their web site where people could order a ticket online and after they send their payment to paypal they would be redirected back to the web site and have a unique ticket that they would be able to print out the ticket but they cant be the same ticket to prevent people from printing out the same tickets. Is this possible? Is there a program?

View Replies View Related

ASP Application On PDA

My web application i need to view it on the palm. Backend is SQl and front end is ASP
How do i make it work on the PALm

View Replies View Related

Asp Application

create a user subdirectorie with a webpage that he o0r she can fill with there own logo and with some text,perhaps a link but just one page.That page must automaticly come up in a link page so people can see his page.

Thing I want to have is a way that our customers, that dont want to pay for a a bigger website,can have just one page on our website in there own subdir.

I see lot's of free csm style websites but that's to time consuming for people that want just a simple page with just there logo an advertising and some info.

View Replies View Related

Web Application

I am developing a web application that will allow user 3 trials to login with the correct password and user name.

View Replies View Related







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