|
| |
|
|
laticca8
Posts: 69 Joined: 4/14/2005 Status: offline
|
sessions problem - 8/21/2005 3:00:41
I use this simple code to see if my sessions would work, but i see that they don't. session_start(); session_register('count'); $count++; echo "<P>You've been here $count times.</p>"; i reloaded several times, but the number remained 1. i also tested some other pre-written script which resulted in simply a blank page. i have checked the ini file and have these session settings: I use this simple code to see if my sessions would work, but i see that they don't. session_start(); session_register('count'); $count++; echo "<P>You've been here $count times.</p>"; i reloaded several times, but the number remained 1. i also tested some other pre-written script which resulted in simply a blank page. i have checked the ini file and have these session settings: register_globals = Off session.save_handler = files session.save_path = ".....\sessions" session.use_cookies = 1 session.use_only_cookies = 1 session.name = PHPSESSID session.auto_start = 1 session.cookie_lifetime = 0 session.cookie_path = / session.serialize_handler = php i use an IIS server. any thoughts?
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|