WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-20-2007, 06:17 AM
davvy davvy is offline
WebProWorld New Member
 

Join Date: Jan 2007
Posts: 1
davvy RepRank 0
Default Problems in Sessions(PHP)

Hi
Iam a new learner and have confiqured server locally on my PC(Apache,PHP,Mysql) ,recently i have started using sessions by incuding session_start() in my code,but script is not running and gives error messages.I have also set session.auto_start=1 in php.ini file ,Can anyone help me.
Reply With Quote
  #2 (permalink)  
Old 01-20-2007, 06:01 PM
mikesmith76 mikesmith76 is offline
WebProWorld Pro
 

Join Date: Sep 2005
Location: Manchester, UK
Posts: 253
mikesmith76 RepRank 0
Default

what's not running? and what error messages do you receive?
Reply With Quote
  #3 (permalink)  
Old 01-21-2007, 06:58 AM
kgun's Avatar
kgun kgun is offline
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 4,565
kgun RepRank 3kgun RepRank 3
Default

Have you included session_start() in the head of the file?

Session handling is not always easy: Related links here at WPW:

Disable session IDs in URL

php sessions for storing data

The best may be to learn OOP and write your own session class or import one that is already finished.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: problems, sessionsphp



Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



Search Engine Friendly URLs by vBSEO 3.0.0