how can i used session and cookies ???

Reply

Join Date: Jun 2004
Posts: 5
Reputation: astm is an unknown quantity at this point 
Solved Threads: 0
astm astm is offline Offline
Newbie Poster

how can i used session and cookies ???

 
0
  #1
Jun 29th, 2004
i want any one tell me

how can i used session and cookies ??? :o :o :o
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 94
Reputation: Ragnarok is an unknown quantity at this point 
Solved Threads: 0
Ragnarok Ragnarok is offline Offline
Junior Poster in Training

Re: how can i used session and cookies ???

 
0
  #2
Jun 30th, 2004
Its funny I was looking around for tutorials on a few of these kind things :
Cookies Tutorial and Sessions Tutorial
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: how can i used session and cookies ???

 
0
  #3
Jul 16th, 2004
Originally Posted by astm
i want any one tell me

how can i used session and cookies ??? :o :o :o
I've been using sessions for a short time. But here's what I know.

-Sessions and cookies go hand-and-hand. Use session_start(); at the begining of the code and if the users browser accepts cookies then your session variables are basically saved in the cookie. If they dont accept, then the browser is responsible for the variables. Either way the variables are handled by you in the same way

-To make a session variable, just start using one like you do with a regular php variable. Say $_SESSION['variablename'] = value; or use an array like this: $_SESSION['arrayname']['key'] = value;

hope this is a good start!
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 1,135
Reputation: samaru is just really nice samaru is just really nice samaru is just really nice samaru is just really nice 
Solved Threads: 6
Team Colleague
samaru's Avatar
samaru samaru is offline Offline
a.k.a inscissor

Re: how can i used session and cookies ???

 
0
  #4
Jul 16th, 2004
Be aware that some people (those who don't know much about anything and think that cookies will give them a venereal disease) turn them off.
Check out my blog at http://www.shinylight.com for more stuff about web dev.
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