SSL Without Session Object

i built an adminisrator page that needs to be under SSL,when its under SSL i cant use the Session object so i cant really know if he is an administrator.
i can make a unique password to the page but the problem is its a page that reloaded often to show different things & then each time he will need to enter the password, a little bit annowing.

View Replies


ADVERTISEMENT

Session Object

I have a page with about 90 input fields all on one page, I would like to split it up into about 5 pages, with each one a next button.

I would like to know, must I put each value into a hidden field to reference on the last page, or should I use session objects?

Can I use a session like this?
session("property").Bathrooms = 2

View Replies View Related

Session Object Question

I am working on a web store that has been having some problem with memory leakage; so I am working thought my code and I am just following up on an issue I have discovered I don’t know the answer to. I am self taught so if my question looks stupid please bear with me.

Set objMyObject = Server.CreateObject(Name)

Do I need to use the objMyObject.Close? before the Set objMyObject = Nothing is called? Could someone please explain or expand as to when and why I use the .Close call.

View Replies View Related

Object Stored In Session

I created a class ImageEdit to help me get more from an image component i'm using. The class has few private properties and public methods. One of the methods is the Load() method which requires 1 parameter: the complete path to the image.

As long as i have the class definition included in the page and create and instance of the class on a page and use the properties and methods, everything is fine. The problem arises when i try to set this instance in a session variable like so:

set session("imageedit") = new ImageEdit

And this also seems to work fine as long as i'm still executing the code on the same page the new object has been created on. However... i can not get this object to work on any other page. Weather i use this: Code:

View Replies View Related

Session Object Expiring

This is a strange thing. My Session object is expiring when the page is refreshed.This is happening in just one partiular page. Rest of the pages are working fine

View Replies View Related

Session Object Variable

I have a class declared as this:

Class CShoppingCart
dim sTableName

Public Property Let TableName (sNewTableName)
if sNewTableName <> "" Then
sTableName = sNewTableName
end if
End Property

Public Property Get TableName ()
TableName = sTableName
End property

.....

Then in a login page i do this

Set Session("cart") = New CShoppingCart

so now, the cart is a session object that can be called from every page in this session BUT.... when i do this in a different page:

Response.Write Session("cart").TableName


I get an asp error (Erreur d'exécution Microsoft VBScript (0x800A01B6) )saying this is not a supported method (the error is actually in french! i can paste it if u want)

The object seems to be valid (IsNull return false and IsObject returns true) but i cannot invoke its methods and read its properties ....

View Replies View Related

Type Of Session Object

I would like to be able to get the type of object that a session variable contains (for example, determine whether it is a string, integer, single precision floating point, ADODB.Recordset, etc...)

I need to know this for a ASP <----> ASP.NET session management script I am writing. I would like to be able just to copy strings and numbers. I already have code that does this, but I don't want my script to blow up when it finds a recordset in the session object.Is there any easy way to detect the object type in ASP?

View Replies View Related

Session.timeout Object

I have a session object Session("login") whereas I need to extend the time on this to 1 hour, instead of the default 20 minutes. After initializing Session("login"), how would I change the timeout value?

View Replies View Related

STA Object In Session And Thread Affiliation

Here's a question that I've not been able to get a definitive answer to.

Creating an STA object (such as a typical VB6 object) and assigning to the
ASP Session store is a bad thing.

It's a bad thing because it forces IIS to affiliate the Session with the
Thread on which the STA object is created.

This means all subsequent requests for that session can only be handled by
that worker thread and can therefore result it in poor performance as
requests queue up to access the thread they are affiliated with.

My question(s) is/are this:

Is this affilation now set in stone for the life time of the session?

Does removing the STA object from the session remove the affiliation or is
IIS/ASP just not that clever?

View Replies View Related

Date Store For Session Object

I'm wondering where the data is stored for Session objects. Is it passed to the browser, and then passed back to the server during page requests? Or, is the Session data always on the server, and the browser simply passes the server it's unique session id?

View Replies View Related

User-defined Object With Session Scope

How can I give a user-defined object session scope? From

http://www.microsoft.com/windows200...asp/iiwaobu.htm

I gather that it can be done, but there are no examples. Simply setting

Set Session("tag") = new MyClass

doesn't work.

View Replies View Related

Query Db Using Session Object Or Text File

Need to query an access db usign the contents of a text file that has one entry in it, and id ie: drsmith

Here's what I have thus far (the db call is in an include file)

<%
Dim fso, read
set fso = createobject("scripting.filesystemobject")
set read = fso.opentextfile(server.mappath("settings.inc"))

SQL = "SELECT * FROM news WHERE Company_id = (??????)"
Set rs = Server.CreateObject("ADODB.RecordSet")
Set RS = Conn.Execute(SQL)
%>

View Replies View Related

Session Object Error 'ASP 0102 : 80004005'

I'm completely lost as to what's causing this error on my browser. When i try to view my site with Internet Explorer my asp pages show nothing but the below error:

Session object error 'ASP 0102 : 80004005'

The problem is we are still getting orders and the tech support from our hosting company says he's not getting the error so it seems i'm the only one getting it, to make it stranger if i look at my site using Mozilla Firefox i don't get any error. This seems to conflict with the fact that asp is a server side script and so the browser shouldn't make any difference to asp errors but in my case it does?

What's stranger still is if i try to log into my sites Helm control panel i get a similar asp error but this time no matter what browser i use i get the same error and can't log in.

If anyone has any idea what could be causing this or more importantly what i can do to fix it I'd be very grateful to hear about it. I hadn't changed anything on my site or my browser when this error started appearing about 2 days ago and the tech support say if they aren't getting the error their end they can't fix it so I've no idea what to do.

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

How To Find The Session Expired Or Not Without Using Any Session Varaibles

how to find the session expired or not without using any session varaibles?

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

Accessing ASP Session From ASP.NET Via Session Cookie

I have a site that I'm trying to migrate to ASP.NET from ASP, and the
foremost stumbling block I'm hitting is session state between the ASP
and ASP.NET applications. In order to access this information, I'm
doing a HttpWebRequest from the ASP.NET side into an .asp page,
passing the session name on the get in order to request it from the
ASP side and write it back to the response stream, giving ASP.NET
access to it. Of course I change sessions each time I make the call
from the ASP.NET side.

Soooooo, I'm thinking to myself, "Self, shouldn't you be able to fake
out the server by getting the session cookie from the initial usage of
the asp, pass that data to the ASP.NET, and use that to send a request
back the ASP side under the appropriate session?"

From a real high level, I enter the site via a .asp page. This page
in turn calls .aspx page from within a frame ......

View Replies View Related

Tracking Session Variables From Outside The Session

I want to create an administration page which lists all the current users who are on the site at the moment.

I know coldfusion has this feature built in using the SessionTracker class... does ASP have something similar? If not... is there any way I can just iterate through all the session files on the server...?

View Replies View Related

Session.session Not Maintained

I have a site developed using ASP, but each page I enter has a different session id when accessing the site using the domain name of the site. When accessing the site from my network and using the internal IP address, it is OK. Any ideas?

View Replies View Related

Comparison Between "session.abandon" & "Session.Contents.Remove"

I want the suggestion what is better for use between:

Session.abandon
&
Session.Contents.Remove

View Replies View Related

OLE Object

I have one column in my access database named 'picture'. I uploaded the pictures in the database using OLE Object. Now I want to have a picture of an employe in my ASP form.
It gives me an error. The page works without that code-line where picture is mentioned. Code:

View Replies View Related

Xml Object

I have an xml data that I want to store in a database.

I want the following fields
1. Account-id
2. order-number
3. first-name
4. last-name
5. address-line
6. address-line-2
7 city
8, state
9 postal-code
10 total-points-spent
11 the list of items that were purchased which are in the section
item-redeemed

And this is the asp code that I use to move through the list. right now all
I can get is the redemption top-level, but I cannot seem to go down to the
subitems. Code:

View Replies View Related

CDO Object

I am creating an e-mail using the CDO object and using the AddAttachment method to attach a file from a URL. I am having a problem in that the file file attached is given a random name (something along the lines of ATXX412.pdf)

Does anyone know if it is possible to rename/assign a name to attached file before the e-mail is sent?

View Replies View Related

If Object

I am writing a function to take a recordset as parameter, and print a HTML Select element according to the record in the recordset. I would like to check if the input object a RecordSet before processing, how can i acheived that?

View Replies View Related

Filesystem Object ?

how to find the size of a pdf which is located on the server i know i have to use filesystemobject

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

BEST EMAIL Object Please...

we have NT 4.0 server now, will be moving to WIN2K and ASP TO ASP.NET. Right now we have java.jmail.....

View Replies View Related

CDO Mail Object

I have an E-mail ASP Web form that is using a CDO Mail
Object. This form has to be filled out before the
customer can download our demo. Currently, the customer
fills out the form, clicks to submit and a message appears
to the customer telling them it was successful and to
click on a picture on the form to download the demo. My
problem is that many of the customer don't read the
message. I want to modify the code so that after the
customer clicks SUBMIT, the info is submitted and then the
download immediately begins without them having to take
further action.

What is the code I should add to begin downloading a file
after the form is successfully submitted. Here's some of
the code I am currently using:

View Replies View Related

Create Object & DAO

how to create dao.tabledef object in asp:

I need to convert the following code into asp:
Dim tdf As DAO.TableDef
Dim db As DAO.Database
Dim fld As DAO.Field

Set db = OpenDatabase("C:Mydb.mdb")
Set tdf = db.TableDefs("Table1")
Set fld = tdf.CreateField("Field2", dbText, 10)
tdf.Fields.Append fld

View Replies View Related







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