Session/application Reset
Does anyone know of a way through asp code to drop a users application
connection and prompt them for their credentials? I would like to offer the
ability to log into the application with different NT username and password
with them having to close and re-open their browser. I am using basic
athentication for my application.
View Replies
ADVERTISEMENT
When a user goes through our online purchasing system and their session
information gets recorded, when proceeding to our next page and then
clicking the back button in their browser, the session variables are reset.
Its not that the session is timing out or being forced to end when visiting
the next page (or when reloading the previous page), but regardless, the
variables are reset.
This is a problem because during the purchasing procedure several items from
the order go missing, meaning the purchase doesn't go through properly.
Any ideas why a simple back button press in the browser by a user would
cause a session to be reset?
View Replies
View Related
Do you know how to reset session.timeout after user click to extend the session timeout?
For example, default session.timeout is 20 mins and 2 mins before will ask whether extend working on the site or logout.
View Replies
View Related
You are required to create an online tracking system for the Webmaster which should show the current online status of all the users currently logged on to your site with the following details about every user:
SessionId
Current Page requested
Time of request
Browser used for making the request
If a user remains inactive for 10 minutes, then it should be assumed he is not online. You are not supposed to use any permanent storage features.
View Replies
View Related
I've got two domain names sharing the same IP address that use ASP VBScript
If I set a session variable with domain 1, it is only available for domain 1 - this is
correct?
If I set an application variable with domain 1, the app variable is sharing across all
domains using that IP address - this is correct?
This is the behavior I am seeing and I want to make sure that my server is set up
correct. I especially want to make sure application variable behavior is correct.
View Replies
View Related
I want to store the link of the page that each user of my web site visited so it can help me to personalise information for each user depending on the pages visited.I don''t know what kind of variable should I use.
If I understand well, a Session variable is deleted when the session end so when a user close the browser and then reconnect to my web site, the session variables used the first time will be deleted and I can''t keep track of the pages visited.Same thing for the application variable except that the variables will be deleted when the application stops.
View Replies
View Related
I have absolutely no idea how global.asa works. I've read through quite a number of articles and they're all fine and dandy but implementing it on my (first) ASP application just doesn't work. It's amazing how ASP.NET automates everything for you.
Anyway, I need to store session variables and I have no idea how to. I have no global.asa file, but I can declare session variables fine. So does that mean that somewhere in the ASP process, a Session_OnStart() method's already running.
If I create a global.asa file, I put it in the same directory with other ASP files right?
A global.asa file should contain the basic four application/session methods... and shouldn't really contain much code, unless I want to start a variable with a default value. True or false (I say true). Code:
View Replies
View Related
I'm working on an ASP classic application. I wish to set my session.timeout to 1 minute for testing purposes. I placed session.timeout = 1 in the global.asa but it seems not to be working because the session is still I alive. I0 can still browse through the application. How do I do it and where should I place the session.timeout? Do I still have to configure something in the server?
View Replies
View Related
Until now I've only seen VBScript to handle application and session events (e.g.
Application_OnStart, Session_OnStart). Is it possible to do this directly in
JavaScript or do I have to write VBScript proxies?
View Replies
View Related
I'm using serverXMLHTTP to retrieve pages, but in some cases its throwing "The connection with the server was reset" back to me, im not completly sure what the message means, when i used other variations of the the http component i get similair errors, though sometimes it pulls through (once every so many'th times)
View Replies
View Related
How can i reset the combo box or <select> in asp?
View Replies
View Related
I have a a reset button on my page but when i press it nothing happens? Why is this?
(input name="Reset" type="reset" id="reset" value="Reset" />
View Replies
View Related
This is the message i get when we have our application running using our own ISAPI code, it desapears when we don use the ISAPI filter, Can anyone help, It seems IIS assumes that we have a virus as stated by microsoft Message
IIS ADMIN SERVICE TERMINATED UEXPECTEDLY XTIMES EVENT ID
7031
SMTP SERVICE TERMINATED UNEXPECTEDLY XTIMES EVENT ID 7031
FTP SERVICE TERMINATED UNEXPECTEDLY XTIMES EVENT ID 7031
It only happens when we are using our own ISAPI FILTERS .
View Replies
View Related
Is it possible to reset a SQL field to it's default setting? For example, someone changes FIELD1 to "John Doe" and the the default is "YOUR NAME". Can I reset it back to "YOUR NAME" somehow?
View Replies
View Related
I've been trying to reset a variable from a popup window. I want to be able to provide member stats for a message board but every time I click on a different member the first members stats keep getting displayed. The variable needs to be reset after the popup window is closed but I don't really know which way to go about it. I've tried methods such as member="" and stuff like that but I've still got the same problem.
function info()
{
window.open ('member.asp?username=<%=sectionRS( "Username" )%>','website', config='height=300,width=400,toolbar=no,menubar=no ,scrollbars=yes,resizable=no,location=no,directori es=no,status=no');
}
View Replies
View Related
I have a form on which I have a INPUT Type='Reset'. On clicking this button all the fields on the form should reset except a few. Is it possible to do this by setting some property of the control or do I have to specifically write code form that?
View Replies
View Related
I have a search page where i have like 10 combo boxes and some radio buttons and check boxes.
Now when the page loads, i do some selection in the combo boxes and when i press reset button it clears all data in the form elements.
But when i select things in combo boxes and do a search by clicking OK button then the search results are displayed there and now if i want to clear all the form elements , i tried to click reset button, but when ever i did a search ie click ok button and after than press reset button reset button is not clearing the form elements.
View Replies
View Related
I created a new database using the Frontpage 2003 wizard. Everything works Fine but I would like to have the option to Delete the database (What I mean is anything that was puyt in to get rid of it.) after they are done putting in what they have to put in. Is there a way to do this I can't find one.
View Replies
View Related
is there a small command that resets a whole accessdatabase? I need a code that deletes all records in a database. Does anyone know how I can do this?
View Replies
View Related
The LDAP is located on the mainframe. I can successfully select records using some ASP (Classic) script. I choose to use ASP classic because there are very few examples I
could find of using the directory services other than the MS AD.
Anywho, as I said I can select the LDAP record using a mixture of SQL and LDAP dialects but now I am at a standstill. I have been asked to create a form to reset the passwords on both the mainframe and the network at the same time.
The actual user accounts on the mainframe exist in RACF and the "field" I need to access is racfPassword, could this be accomplished via a SQL Update command using the same mix of SQL and LDAP dialects?
View Replies
View Related
i use nt user authentication on our iis 5.0 webserver. user get a login popup for username/password when they connect to the website. i also use session handling which works fine. the session ends when the user uses my logoff process.
but unfortunately, the remote_user server variable is still filled with the username. so the user can just call the website again and he does not get the username/passwort pop up. is there a possibility to empty/reset/destroy the remote_user servervariable
(maybe on client side, cookie)?
View Replies
View Related
My website uses cookies to persist a certain amount of data on the client. However, occasionally the cookies will disappear or be set to an empty string for no discernable reason. It does not happen in our development environment at all, but does happen in our production environment. We looked at all the likely settings and they were identical on both the production and live servers.
We set the cookie domain properly and the cookie path.
Has anyone seen similar behavior? And if so, what did you do about it? What IIS settings should I be looking at? Could it be a service pack that was installed on one machine but not another?
View Replies
View Related
Is there anyway to reset cookies values when window closes?
View Replies
View Related
I have very weird problem on my server, when I run this function: Code:
View Replies
View Related
I have an asp form. The page is kind long. After user scroll down and make some change on the items, the form needs to be refreshed with new selections (some controls may disabled based on the selection).
My question is, each time after the refresh, the form always go back to the top position. Since the form is quiet long. User may get frustrated if he/she have to scroll down the page to find the current position each time after make a selection change. Is there a way to remember the document postion before refresh the form, and reset the position after the refresh? I guess some javascript code may be able to do it. But so far I have no clue at all.
View Replies
View Related
I'm using the detailsview to perform edit and insert of new records via an
object datasource.
If an error occurs on the insert, I want to preserve the data the operator
tried to input, along with my error messages. Currently, it appears that the
detailsview is trying to rebind after the error, to the empty/null detail
item(on insert it is null), and thus I lose all the operator's input. Can
someone suggest the proper way for me to achieve the persistence I'm looking
for?
View Replies
View Related
I have an Access table with (among others) a number type field.
I'm building a web form which will add a new record to the same table. My problem is as follows:
I need to retrieve the (number) value from the previous record and increase it by 1 when submitting the new record. Also, this number should reset to 1 whenever a new year occurs.
Was that clear?
View Replies
View Related
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
I have a website that I subscribe to that allows me to track tasks. I have an extra computer with a big monitor that i want to always display the task list. the problem is after so many hours I get logged out.
I need to need to reload that sign in url every few hours Code:
View Replies
View Related
I'm facing a peculiar problem..I've multiple text fields in a form.
One of the text object(named-A) is getting populated with the help of some JavaScript code written in the ASP page .
Now, when I click the "Reset" button, all the text objects are getting cleared of their content,EXCEPT "A".
View Replies
View Related
how to find the session expired or not without using any session varaibles?
View Replies
View Related
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
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