IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old March 22nd, 2004, 03:56 AM
tobycatlin tobycatlin is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 255 tobycatlin User rank is Lance Corporal (50 - 100 Reputation Level)tobycatlin User rank is Lance Corporal (50 - 100 Reputation Level)tobycatlin User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 13 h 45 m 15 sec
Reputation Power: 5
Send a message via MSN to tobycatlin
a new session everytime

Hello everybody
I was wondering if anyone could shed some light on a problem i have.

I have been writing a website in PHP with a authentication system to log users in and out. The code works great (thanks DevShed) it is my webserver setup that is causing me problems. It works fine on other webservers, just not on my one.

everytime i refresh the page I get a new session ID, meaning that as soon as a user logs on their session becomes invalid and they get logged out.

Anyone know why IIS would issue a new session ID everytime?

Platform:
Windows XP Pro SP1
IIS 5.1 (i think can't really find a deffo version number)
PHP
MySQL

Reply With Quote
  #2  
Old March 22nd, 2004, 05:02 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,679 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 14 h 50 m 53 sec
Reputation Power: 688
What kind of session ID? An IIS session like Session.SessionID or some PHP session ID?

If it's a PHP session ID I guess you'll have to dig through your PHP installation. You may get strange IIS session ID results if your browser doesn't handle cookies properly, this is just guessing
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #3  
Old March 23rd, 2004, 03:22 AM
tobycatlin tobycatlin is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 255 tobycatlin User rank is Lance Corporal (50 - 100 Reputation Level)tobycatlin User rank is Lance Corporal (50 - 100 Reputation Level)tobycatlin User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 13 h 45 m 15 sec
Reputation Power: 5
Send a message via MSN to tobycatlin
I only know how to generate a session id one way and thats a PHP session.
$sess_id = session_id();

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > a new session everytime


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway