|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
I only know how to generate a session id one way and thats a PHP session.
$sess_id = session_id(); |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > a new session everytime |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|