Cookies Being Reset Or Disappearing Mysteriously
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
ADVERTISEMENT
I have a classic ASP page which links through to an ASP.NET 1.1 page.
Basically there is a hyperlink on the classic ASP page that opens the ASP.NET
page in the same window. I can then go back to my classic ASP page by
clicking on a link on the ASP.NET page. It all seems to work seamlessly,
apart from 1 end user. What they find is that if they click on the link and
open up the ASP.NET page, then go back to the classic ASP page, all the
classic ASP cookies have been emptied out, yet the session info still
remains. They are running on a Windows Server 2003 machine with IIS 6. I've
tried to replicate it here, but as yet have been unsuccessful.
View Replies
View Related
Is there anyway to reset cookies values when window closes?
View Replies
View Related
I am having some problem with this code and need some different eyes, i have a drop down and when u select the value from drop down u see the results.
it works till here perfectly, i have also done paging so if select the Id from drop down page is refreshed and u see the records, i have set up to view 20 records on a page:
if there are more then 20 records and i go to the second page then i dont see my drop down: can someone tell me whats wrong with the paging Code:
View Replies
View Related
I have some page content stored in an Access DB. I want it pulled from the db and posted to a .asp page. I am using Dreamweaver to create a simple query and to display the data. If the data is just plain text it will display. However, if I enter any HTML (even entity references) the page still renders but the text will not show up. I don't get an error or anything. Everything else works just find but the text does not show. If I change the content in the DB back to plain text it will show up again. What the heck is going on? Anyone have any ideas? I need it two display with the HTML as this is part of a small CMS for a client.
View Replies
View Related
I've got some bizarre behavior going on with my ASP code below. For
some strange reason (and I'm a newbie to ASP so it's probably obvious
to others) I can't display all the rows of data from the query. As an
example, the Problem Solution column doesn't display and unless I
comment out another column. Or if I move Problem Solution and it make
ithe first column, then the Root Cause won't display. Code:
View Replies
View Related
I have a site that works fine for days, then suddenly, I start getting ASP 0115 errors with an indication that session variables IN SEPARATE SESSIONS have disappeared!
First, for background information, I have a customized 500-100 page that sends the value of various session variables via email to my support site. On the home page of the site, the FIRST THING that is done is a Session variable is created that saves the Session ID. I see an ASP 0115 error thru the email, with NO value defined for the session variable that SHOULD contain the Session ID. After the first error, I see more of them.
View Replies
View Related
I am calling a subroutine when I click a submit button. In the subroutine I grab values from text boxes and validate them. If it all works then it goes to the Update page.
Well my validating works but when it calls the Update page I am using the Request.Form to get the values from the form to update/insert into the database.
Well if I do an update it updates all the fields as empty. If I try to do an insert is says it can't insert NULL into the Primary key field.
Now most of the time the Primary key field is a list box and I don't touch it in the subroutine. Still why are all my values disappearing when I call the subroutine??
So I guess that is it. When I validate a forms values, them same values are no longer available on another page through Request.Form?
View Replies
View Related
In my Session_OnStart in Global.asa, I am setting some cookies. One
of them, I set as follows:
dim UserID
UserID = Request.ServerVariables("LOGON_USER")
Response.Cookies("User")("ID") = UCASE(UserID)
When I immediately log the cookie value retrieved from
Request.Cookies("User")("ID") into the Windows Event Log, I get the
correct value. However, when I try to retrieve the cookie on the home
page of my application using the same code,
Request.Cookies("User")("ID"), it either cannot find the cookie or
cannot read the value. I am retrieving the cookie before all HTML
headers are written. It is my first statement on the page after
Option Explicit. I have even compared the session IDs. The SessionID
created in the Session_OnStart is the same value as the SessionID on
the home page.
I have read that the Session_OnStart only has access to the
Application, Session and Request objects. It does not explicitly say
that it does not have access to the Response object. Also, I was even
able to use Response.Write's in Global.asa to print out the values
although it looked like it had also stopped the session after I did
so. Cookies are definitely enabled on my machine. I have even tried
setting the session cookie's expiration to be persistent for a few
days to see if it was perhaps expiring before I was able to read it
but this did not work either.
Is there something preventing cookies to be created in Global.asa in
the Session_OnStart sub? Is the Response object not available???
Please let me know if anyone else has had this problem or solution.
View Replies
View Related
Is it possible for a user to enable permanent cookies but disable session cookies.....this seems like a contradition yet this is what I appear to be
reading in online articles?
View Replies
View Related
I m creating a cookies in my application and it work properly but i can't see the cookies where it will sotred i checked the cookies folder but i didn't find that I want to create a cookies file as the other web site create and store where other cookies will stored in Cookies folder or Temprory Internet files folder eg:1. arvind@google.co[1].txt this stored in cookies folder 2. arvind@msn[2].txt ....
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
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
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
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
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
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
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
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
I've added a cookie and I am able to read it when using the same window but
if I load up a new window and try to access it, it can't find the cookie.
Any one know why?
View Replies
View Related