session

Reply

Join Date: Sep 2005
Posts: 139
Reputation: aarya is an unknown quantity at this point 
Solved Threads: 0
aarya's Avatar
aarya aarya is offline Offline
Junior Poster

session

 
0
  #1
Oct 5th, 2005
my login script working fine in my localhost. but when i hosted the site my session is not working.i have written session_start(); in my script i dont undertand y? weather all the php sites supports session.
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 57
Reputation: bwest is an unknown quantity at this point 
Solved Threads: 1
bwest's Avatar
bwest bwest is offline Offline
Junior Poster in Training

Re: session

 
0
  #2
Oct 5th, 2005
Your going to have to give more detail but I dont think sessions are dependant on the php version or operating system.
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 1,075
Reputation: digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice 
Solved Threads: 66
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Veteran Poster

Re: session

 
0
  #3
Oct 5th, 2005
Originally Posted by aarya
my login script working fine in my localhost. but when i hosted the site my session is not working.i have written session_start(); in my script i dont undertand y? weather all the php sites supports session.
createa php file with the following code:

[PHP]phpinfo();[/PHP]

View the page in a browser.
The function phpinfo() will display the current php settings on the server the file is hosted on.

Search for sessions, if session support is enabled, then it should be all good. Also check your php version, and other info and post it here so that help will be easier
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 139
Reputation: aarya is an unknown quantity at this point 
Solved Threads: 0
aarya's Avatar
aarya aarya is offline Offline
Junior Poster

Re: session

 
0
  #4
Oct 6th, 2005
yes i have tried using phpinfo(); in my pc it is working. but when i hosted the code and check in my browser it gives blank page.
it wont display any details
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 1,075
Reputation: digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice 
Solved Threads: 66
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Veteran Poster

Re: session

 
0
  #5
Oct 6th, 2005
Are you sure the server you are hosting with has php installed?
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 139
Reputation: aarya is an unknown quantity at this point 
Solved Threads: 0
aarya's Avatar
aarya aarya is offline Offline
Junior Poster

Re: session

 
0
  #6
Oct 7th, 2005
yes all my php code working only phpinfo(); is not working
i ahve tested in my other site is working and sessions are also working on my other site
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC