I'm trying to recreate my RFDMaker in PHP.
I've decided to do it in a series of steps, using sessions. With
cookies turned off it works fine (I've only done the first three steps).
The session ID is passed in the url so the user can go forwards and
backwards.
However, with cookies on, the session persists even if I close the
browser. I thought that, unless specified otherwise, cookies only
persisted while the browser was open.
Am I missing something or is it my machine/setup? Could someone test it
for me? http://www.ckdog.co.uk/php/rfdsesh/rfdmaker.php
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/ 2 1998
On Sun, 21 Dec 2003 11:16:00 +0000, Geoff Berrow <bl******@ckdog .co.uk> wrote: I'm trying to recreate my RFDMaker in PHP.
I've decided to do it in a series of steps, using sessions. With cookies turned off it works fine (I've only done the first three steps). The session ID is passed in the url so the user can go forwards and backwards.
However, with cookies on, the session persists even if I close the browser. I thought that, unless specified otherwise, cookies only persisted while the browser was open.
Am I missing something or is it my machine/setup? Could someone test it for me? http://www.ckdog.co.uk/php/rfdsesh/rfdmaker.php
I get a new session after closing and reopening in IE6, but Mozilla 1.4 claims
to have received a 7-day permaenent cookie instead of a browser session cookie
and so continues the session.
What values do you have in php.ini for the session options?
--
Andy Hassall (an**@andyh.co. uk) icq(5747695) ( http://www.andyh.co.uk)
Space: disk usage analysis tool ( http://www.andyhsoftware.co.uk/space)
I noticed that Message-ID: <o6************ *************** *****@4ax.com>
from Andy Hassall contained the following: Am I missing something or is it my machine/setup? Could someone test it for me? http://www.ckdog.co.uk/php/rfdsesh/rfdmaker.php I get a new session after closing and reopening in IE6, but Mozilla 1.4 claims to have received a 7-day permaenent cookie instead of a browser session cookie and so continues the session.
Hmm, I have IE6 but it persists for me What values do you have in php.ini for the session options?
This bit?
session.cache_e xpire 180 180
Is that minutes? seconds?
You can see the full thing here: http://www.ckdog.co.uk/php/phpinfo.php
I've added a reset link that calls session_unset and session_destroy
that seems to do the trick but I'd still like to know why the session
persists.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dax Westerman |
last post by:
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...
|
by: me |
last post by:
If I start a session on our web app then close all browsers, I expect that
the session cookie would be deleted and that the session itself would exist
until it expired. I then start a new instance of the browser expecting to
get a new session id and a new session, but instead I reconnect to the
unexpired session. Does anyone know why the session cookie is persisting
despite the closure of all the IE windows?
Thanks,
scott.
|
by: Jim Douglas |
last post by:
I am starting the analysis and design on how we are going to handle session
data. We are on a large web-farm which limits our solutions. The best
solution is persisting to MS SQLServer but I'm not comfortable with it's
single point of failure or maybe I am missing something there. QueryString
is out for security and HIPAA regulations and most other solutions are
'single-server', cache, etc. I have read the MSDN article titled "Nine
Options...
|
by: qaz |
last post by:
I've always used session cookies in my web sites. However, since more and
more people (including me) are starting to disable cookies, I'm beginning to
think that I should change my ways and design websites without the use of
session cookies. I've never done it before, but I understand that we can
get around the use of session cookies either by writing data to a database
or by passing data from one page to the next with hidden fields. Can...
|
by: Ben |
last post by:
Hi, I'm sending out a session cookie. That is a cookie that has no
expiration date. When I surf through the site, no problems, but if I close
the browser and open it back up, the cookie is still there if other browser
windows were open. Even if those windows didn't go to the site with the
cookie or spawn from the browser that is visiting the site. This is causing
a problem. People want to be able to close the browser to logout.
How...
| |
by: McGeeky |
last post by:
Is there a way to get a user control to remember its state across pages? I
have a standard page layout I use with a header and footer as user controls.
Each page uses the same layout by means of copy paste (I hear this will
improve in ASP.Net 2 via master pages).
When I navigate from one page to the next the header and footer user
controls lose their state because they are effectively different instances
of the user control.
Is there...
|
by: Jonathan Wood |
last post by:
Greetings,
I was wondering if anyone here has a good understaning of the Session
object. I know there are options like the Session.Abandon method and the
regenerateExpiredSessionId setting, although I do not understand what they
do.
Can anyone tell me if it's possible for a recycled session to still contain
the old data? I had a couple of reports that where users said they logged on
and saw another user's data. On this site, there...
|
by: r |
last post by:
Hello all
I have a website that each user has it's profile.
I use Session object for having their states for example the user has logged
on or not..
Is there a better way to do this?
thanks in advance
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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...
|
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...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |