session related problem

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
sanjaybh
Forum Newbie
Posts: 1
Joined: Wed Nov 09, 2005 4:53 am

session related problem

Post by sanjaybh »

Hi all,

i am working with php and mysql.
i have a session related problem plz help me out, as my application is not recognizing the session for the first time
i.e) when i login to the application with the correct username and password it is not allowing me to enter in to the next page where i am just checking the username if valid.
My server configuration is Unix with php 5

where as locally it is working fine where i am having windows and php 4.1

plz help me, very urgent !!!

sanjay bhan
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

Please post some code.

Are you calling session_start() before the session call?
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Re: session related problem

Post by n00b Saibot »

sanjaybh wrote:plz help me, very urgent !!!
stop being sissy! this forum is for help & guidance and equal attention is given to every post as well... post some code and we'll look into it :|
Post Reply