ASP Session Usage

I'm currently working on a survey system that allowes users take the survey and then review/change their answeres in any order. The system uses 3 frame (Header,Body,Footer).

As it stands the system uses 3 sessions to get this done. One for the project they are in, one for the step they are in and one for their answers.

My question is at what point do I end up over whealming the system with sessions? I truly do not want to slow the system down that much. how I could optimize the usage of this?

View Replies


ADVERTISEMENT

Session Variable Usage

Is there a way to use a Session Variable to prevent the successful resubmission of a form if the user uses the Back button and tries to submit it again?

View Replies View Related

How Can A Measure Server Session Memory Usage?

How can a measure server session memory usage?

I have a 20-30 session variables and I would like to know how much they memory they consume then multplied with my projected user load.

View Replies View Related

ASP And SSL Usage

I have a client that wants a web form to send credit card information and other personal information to an email address. (such as name@aol.com) Now I am uncertain on how to do this. I know SSL must be involve, but what is the process with this and how to use it with ASP ? How do you use SSL with ASP .

View Replies View Related

ASPEXEC Dll Usage

I am building a small Web app that will allow end users to visit a Web page, click a button which will in turn execute a batch file on the Web server which will migrate code from the development environment to QA. The Web app will also capture logins and execution requests, and the batch file currently emails the robocopy log to me.
In researching ways to get the ASP page to execute the batch file, I came across ASPExec from Server Objects - http://www.serverobjects.com/products.htm#free. It seemed straightforward enough, however I have not been able to get the permissions in sync for it to work.

View Replies View Related

Monitoring Usage

I have just figured out how to use the global.asa file to track sessions on my site. However it relies on users logging off correctly. Is there no way that I can know that the user has closed the browser WITHOUT logging off my site? I am finding users registered as being logged in when they may not be
Could anyone show me some code that I could put in Session_OnEnd that would clean up my database table of active users? Say if a user has been in-active for 60 minutes, clean him out. I have tried to do this but it hasn't worked. I cannot seem to connect to my access db from the global.asa file!

View Replies View Related

Database Usage

i have an access database which iv'e designed for my 'client' (ok, he's my friend) and now i'm also in the process of designing a website for his company - so his customers can log on and see their order status.

what's the best (and most secure) way to update the site - we don't host the site - it's hosted by someone else.

i'm totally at loss with this - since iv'e never worked with networks or servers and i just want someone to point me in the right direction. i don't want to get lock errors and the like.

iv'e heard a bit about ADO and i know some of the syntax although i'm not really sure how it applies to me here (i'm not exactly exposed to ADO since iv'e been learning asp.net 2.0 from which i understand, has totally eliminated ADO)

View Replies View Related

Proper Usage

What is the proper way of using html in asp

Response .write "<td>"& variable & "</td>"

or

<td><% Response.write (variable)%></td>

What difference does it make?I am building a table whose number of rows keep changing
When i use the second method the space above my table keeps increasing.I just want to know which method is better..I had posted a similiar question....I'm still trying to figure out.

View Replies View Related

Display The Current CPU Usage

Does anyone have working ASP code that shows CPU usage on the server where it's running from?

View Replies View Related

Response.write Usage

Hi's there any concerns or disadvantages of using alot of respose write's (50) in a ASP page for calculations and is it better than using the recordsets to do the calculations?

Also, we are looking at moving to a secure server, will this cause any problems apart from changing all references to https?

View Replies View Related

Dynamic Input Box Creation And Usage

Can anyone point me in the right direction for dealing with a dynamically created table of shopping cart items? Each row (or Item) has a column where the user can change the quantity. Is there an easy way to grab and use these changed values when they hit the form submit button?

Or, do I need to bite the bullet and write code that filters through the form fields named "quantity1," "quantity2," "quantity3," etc... And then determine which one goes with which cart item?

View Replies View Related

IIS6 W3wc.exe Memory Usage.

I have a problem with our web servers and memory etc.

We have one application pool with a few websites in it and the w3wp.exe is
consuming about 800 mb memory now.
First we had a rule for recycling the application every x minutes or when
it's using more than 600 mb memory but when the recycle is activated the
w3wc.exe process hangs and the cpu usage goes to 100% until we execute an
iisreset.exe.

That's the reason why we disabled all the recycling options and configured
only one worker process for that application.
All the websites in the application pool use the same code, only they have a
different skin.
The website also uses xml/xsl transformations.

Is it normal for an application to push the w3wc.exe process to about 1GB???
If this is the case i really want to know how much memory dedicated hosting
companies need in their webservers :-)

We are storing some information in the application cache, but this is only
for the entire website and not per user... in plain text so the amount of
data would be no greater than 100KB at most.

The application is in classic ASP.
We walked thru the entire code and checked for correctly closing all sql
recordsets, email components etc etc etc...

What is the best approach to find out what is using so much memory and why
the recycle does not work correctly?

View Replies View Related

Avoiding Concurrent Usage Of An ASP Page

I have 4 ASP pages where an user can update some fields and submit the page, so that the fields are updated in the Database(Sqlserver), I need to handle one situation.

1) At a time I need to allow only one user to update the details in a page.

2) I need to stop other users who are trying to access the same page concurrently(probably with a message or Redirecting to other page where he can see the details in a report format).

3) Session timeout in my application is 60, So if the first user leaves the page open for a long time , I think it would be a problem....the other session has to wait for a long time.
I have no choice in decreasing the session timeout interval.

Please suggest , How can I handle this in ASP.

View Replies View Related

Memory Usage Of Managed Objects

I am in the process of writing a simple web server monitor (ASP.Net with
VB.Net). One piece of useful information for me to gather would be the
amount of memory used by objects stored in the cache, since objects are
thrown in there left and right.

Items in the cache are either custom objects or are Hashtables. How can I
get the memory size of these objects.

Marshal.SizeOf(object) does not work in this case because .Net cannot
Marshal Managed objects. I thought that I might be able to pull out the
component items in each object and build the total size from their aggregate
sizes, however that would require me to determine each objects type so that I
can correctly gather size info from the internal attributes, something that I
do not want to do.

Is there a generic way to either:

1) get the size of Managed Objects

2) convert Managed Objects into Unmanaged Objects that can be marshaled?

OR

3) some other way to get memory sizes of cached objects

View Replies View Related

Request.form Usage Not Clear

I am trying to get a thorough understanding of a code where a addition or
deletion of records can be done from a list of records. For addition part of
the form, data is being obtained from set of input boxes. Code:

View Replies View Related

Best Practices For Cookies In Classic ASP - Memory Usage

When using cookies in classic asp, is it safe to assume that using a comma delimited list of values in one cookie is much more efficient than using multiple cookies? (example below)

Response.Cookies("someCookie") = "101,102,103,104,105,106"
If InStr(Request.Cookies("someCookie"),"103") 0 Then.......

vs.

Response.Cookies("101") = "True"
Response.Cookies("102") = "True"
Response.Cookies("103") = "True"
Response.Cookies("104") = "True"
Response.Cookies("105") = "True"
Response.Cookies("106") = "True"
If Request.Cookies("103") = "True"

Then.....

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

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

Session Var.

I wrote a website, which uses the session to store and track some vars.

Now I am gonna to covert it to desktop application by Activesite compiler 5, however, it doesnot support session , cookie , application() . SO ,I have no idea to find something can instead of session.

My orignal processing: Session -> modify Session var -> store to Database.

View Replies View Related

About ASP Session ID

There is a problem about ASP session ID. ASP session is implemented by storing session id in a session cookie, but I read this cookie in ISAPI Filter, get a string as following:
ASPSESSIONIDQADCQQTS = IAOFCBBCGDGMDGCNJIKPNBAN

But the real session ID is 554851848. (Real sessionID is sessionID property the ASP session object)

Problem is what is relation between them? And how to get real session ID from cookie session ID.

View Replies View Related

Session

I did a session("adminlogin")=1, if I post it to the same page, it returns true. But if I response.redirect to another page. This value doesn't exist anymore. This is on the actual server where all the ms security is updated.

The same script worked okay on my test server (the security patch not patched yet.)

Has anyone encountered this? How do you overcome it?

I tried searching the net it says the problem lies with a ms security patch. How I wish I can unintall that patch.

View Replies View Related

Session ?

when does a sesson object expire?

- at the end of 20 minutes
- after they close their browser ? does that end the session?

View Replies View Related

How To Get New Session

I have a home page in html with two buttons to call my main.asp in another window my problem is:

1-From my home page I open another web page my main menu, this new page have a SessionID. (OK)

2-If I open another web page from the same home page, this new page have the same SessionID as the page open in first step

I want to get a new SessionID for every page I open from my home page and don't want to abandon the first session...

View Replies View Related

IIS Session And IE7

I have asp and asp.net web application. When I run it in IE7 in first tab it
starts a new session. When I open second tab and browse to the same site the
new session is not started (infact I need to have new session there).

Whereas, 2 IE instances generate 2 unique sessions. Only issue is with IE
tabs. Firefox also has similar things but lets not talk about firefox here.
I am more concerned with IE only.

View Replies View Related

Session

In my login script I set session("User") = rs("User") the session timeout is set to 20 min

Do I need to setup some kind of update session variable on each page so that the timeout does run out or does iis update the variable aslong as I'm browsing the website ?

And another thing, <% application("something") %> works fine on my test server but once I implement it onto the main webserver I dont get any text out, is there some kind of switch that enables this function ?

View Replies View Related

Session Is Nothing

How can I know if a user session had timed out ?
I always get an error in my asp page when I try to access
my session variable if it timed out.

View Replies View Related

Using Session

My buttons default as you can see in the code. But I now want to take what is already choosen in database and chose apropriate button. Can I use a session to choose a radio button?
Code:


<TD><b><font face="Arial" color="#000080">Password</TD>
<TD><input type ="text" value="<%=Password %>" input name="Password" size="50" ><input type ="Hidden" value="<%=userNumber %>" input name="userNumber" size="50" ></TD>
</TR>
<TR>
<TD><b><font face="Arial" color="#000080">Billing Choice</font></b></TD>
<TD><fieldset style="padding: 2">
<input type="radio" value="Monthly" checked name="R1">Monthly
<input type="radio" name="R1" value="Quarterly">Quarterly
<input type="radio" name="R1" value="Annually">Annually</fieldset><p>Hold
Billing Date <input type="text" name="NextBillDate" size="20" Value=<%=NextBillDate%>></TD>
</TR>

View Replies View Related

Session Var

I am using the session(loggedin) to see if a user is logged into that section of the site. The problem is that it is timing out on them, is there a way to define the length of the session (I think it times out at 10 or 20 mins currently), but to extend it to an hour or so. Any thoughts.

View Replies View Related

Session

I've developed a shopping cart app in ASP, to secure transaction by SSL, it 've put only the checkout page in SSL but all other pages i.e. product, cart etc remains on non SSL connection. How can I track user session from non SSL to SSL checkout page as the SessionID changes when shifting to SSL (to prevent session stealing/ hijacking). I'm tracking user session by putting SessionID in cart DB with products. Given below the preview of cart table ....

View Replies View Related

Session Var

I'm trying to only show part of my page based on a variable, I have two
Session Variables -

Session("EMPLOYEEMAXUSERS")
Session("EMPLOYERUSERS")

Now what I'm trying to do is -

ShowIf Session("EMPLOYERUSERS") < Session("EMPLOYERMAXUSERS")

I can't get this to work though

View Replies View Related







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