473,698 Members | 2,923 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cookie/Caching Problem

Dear all,

We have created a business portal for our organization. The technology
used for that is LAMP.

Our major access management system of the portal is based on cookies.
we set some user level cookies at the time of login; using these
cookies we provide access of our pages to user.

The problem is, sometimes after login process we are getting fatal
errors due to cookies, because of cookies are not set and our files
checking for the that. But the problem we can resolve after cleaning
history, cookies, temp internet files in IE.

I am still not getting the problem and our ad-hoc solution. everytime
we get this problem we simply cleanup the history, cookies and delete
temporary internet files, and system starts working perfectly again.

Can anyone explain what exactly is happning ?

Thanks
Rushik.

Sep 12 '05 #1
1 1723
rushik wrote:
We have created a business portal for our organization. The technology
used for that is LAMP.

Our major access management system of the portal is based on cookies.
we set some user level cookies at the time of login; using these
cookies we provide access of our pages to user. Sessions, only sessions. You can have security hole here. If user
know values for cookies he can set it without logging.
The problem is, sometimes after login process we are getting fatal
errors due to cookies, because of cookies are not set and our files
checking for the that. But the problem we can resolve after cleaning
history, cookies, temp internet files in IE.

I am still not getting the problem and our ad-hoc solution. everytime
we get this problem we simply cleanup the history, cookies and delete
temporary internet files, and system starts working perfectly again.

Can anyone explain what exactly is happning ?

First of all, check FF and Opera. I think this is IE problem -
sometimes it's lost cookies. It can be difference in understanding
cookie path and site, it can be cookie limit by count or size or
something else. In any case then user is logged you must use session
instead of set of cookies.
Sep 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
8841
by: Paul | last post by:
I link to a web site from an Excel spreadsheet. The page i link to is getCookie.asp which sets a cookie then returns back some html which opens a new window, to the same site but a different page (same folder). The cookie is not received. Can someone explain why? I worked around this by adding a cache-control header with a value of no-cache. This fixes the problem. Unfortunately that causes another problem with Internet Explorer...
4
1524
by: Shabam | last post by:
I'm developing an application and want to have the "remember me" feature, so that users don't have to log back in again in the next visit. The problem here is, what happens if the user's cookie is stolen? Or, what prevents someone from figuring out the algorithm to the cookie session string? I've thought of using a random string (stored in the database) that's written to the user's cookie once he's logged in. Since it's random there...
7
7196
by: What-a-Tool | last post by:
How does the expire date work setting it server side with asp. I know with javascript setting it client side it will be set to the clients local time, and therefore expire when the clients local time reaches the set expire-time. But if it is an expire time set on my server in California, and the cookie is put on a computer that is running on London Time, and the expire time is set at the server as 20 minutes from now, the London computer...
4
2302
by: kieran5405 | last post by:
Hi, I have an Intranet page that has an image that changes each day, but the image is caching and not updating until the user manually does a page refresh. I want the page to refresh itself but i dont want to use a timed refresh such as every 5 mins etc. I want it so when the user comes in in the morning and opens the page it will have the updated image immed. I am thinking that JavaScript code to check for a cookie and if it is
2
1170
by: news.microsoft.com | last post by:
I have an extremely odd cookie problem and had many programmers in the group looked at it but still with no solution. The following is the synptom: I have a user control ( for inputting user information) used in many apsx files. And I used a cookie in the control to remember the inputs. After the user input the values and click "submit", server will unload this control and load some other user control. Here is the problem: if I come back to...
1
1323
by: Charlie | last post by:
Hi: Our portal writes a cookie to browser on login. The cookie is then requested by applications launched by portal as a way of passing credentials. The problem is when logging off portal, then logging back in as another person, cookie retrieved by application belongs to first user who is now logged out. Portal is correctly adding and removing cookies on login and logout so it appears the old cookie is being kept in memory somewhere...
0
3233
by: joseph conrad | last post by:
Hi, I tried to implement my own session handler in order to keep control on the process the drawback I foun it is not creating and storing in my cookie the PHPSESSID variable anymore. reading te documentation it seems it should do it anyway any advice?
2
1294
by: Eman | last post by:
Greetings to PHP people! I'm acquainted with PHP about five days (more precisely, with the web programming in general). However i have some other experiences in programming. The first thing i need to do is a reliable authentication with sessions and cookies. I've create a scratch web-site for testing this (http://igor.ath.cx:55554/) and have two questions related to cookies. I use the latest PHP 4 & 5
5
2421
by: Beenz | last post by:
I am using cookies to keep track of users' sessions. If the cookie is disbaled or browser do not support cookies we show an appropriate page to the user saying that upgrade to such and such browser or enable the cookies. Now, one of my users just install some latest windows patches and suddenly it seems that cookies has stopped working. There is a remmber me checkbox on my login page, if user checks it I write a cookie. Its working fine at...
1
1555
by: 4site | last post by:
Hi all, this is probably stupidly easy but I'm struggling. I am trying to understand why cookies only appear to be readable when a web page is retrieved by *typing the url into the browser's address box* but NOT when the same page is accessed *via a link from another page*. I probably don't fully understand the mechanics of an HTTP request... Example:
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7740
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.