473,387 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Session destroy is not working on my IIS

258 100+
Hi
I'm using IIS on windows XP SP2 just for designing my website. Everything is working fine except session_destroy.
When I destroy the session with php nothing happends and session is still available but when I upload the script on my website it works.
I think there must be something wrong with my configuration.
Doe's anyone know what the exact reason is?

Thanks
Nov 1 '07 #1
5 3103
kenobewan
4,871 Expert 4TB
I've heard of session abandon, what language are you working in?
Nov 2 '07 #2
bnashenas1984
258 100+
Hi
again and thanks for the reply
I'm working with PHP 5
Nov 2 '07 #3
kenobewan
4,871 Expert 4TB
If the code is the same, check the configuration settings on the server. What settings are different? Is the setup the same on both machines?
Nov 3 '07 #4
bnashenas1984
258 100+
Hi
Yeah thats the problem
The code is exactly the same .. works on server but not on my own computer.. I think somethings wrong with php configurations but don't know what.
I checked the configuration on server, all lines containing ( session ) is the same on both systems
Nov 3 '07 #5
kenobewan
4,871 Expert 4TB
I don't know php, so can't help you there. Is the platform & its settings the same, OS, IIS etc?
Nov 4 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: sg | last post by:
Hi, I use sessions on my site and i have an admin page where I want to be able to unset all session variables and destroy the session. for the moment I do : <? session_unset();...
2
by: Rob Pridham | last post by:
I currently manage all my sessions through MySQL tables, but obviously this means database overhead for every single page. I would like to move to PHP sessions but I'm not sure they do the job. ...
3
by: Pete | last post by:
I have a site which is using sessions to pass data from one page through to the next. The problem that I have is that there are only two places where the session could/should be destroyed. This...
3
by: Peter Redding | last post by:
Forgive me if this doesn't make too much sense but I've been working on this project all day and my brain is a bit fried. To make some of my code more readable I made a file (called urls.inc)...
1
by: mudge | last post by:
I'm running PHP Version 4.3.10. I'm trying to make it so that when a person logs in using a user name and password that their session is valid and continues for a few months so they don't have to...
14
by: RooLoo | last post by:
Hey all In my GLOBAL.ASA file I'm trying to create a session variable for reference in the various webpages of my site.... Sub Session_OnStart Session("LoggedOn")="Y" End Sub When...
7
by: Ottar | last post by:
I've made a program sorting incomming mail in public folder. The function runs every minute by using the form.timer event. In Access XP it runs for weeks, no problem. Access 2003 runs the same...
0
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...
25
by: Jonno | last post by:
Hi I am having a problem with session vars being propagated between pages on this site: http://www.meettheancestors.com/sessiontest/index.php If you enter any user id and password and click Log...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...

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.