Welcome Guest ( Log In | Register )



2 Pages V  < 1 2  
Reply to this topicStart new topic
> User Authentication Session Handling Problems, Authorization server variables not staying across pages
Quatrux
post Aug 1 2006, 09:14 PM
Post #11


the Q
Group Icon

Group: [HOSTED]
Posts: 1,133
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059
myCENTs:5.70



Yes. if you use astahost free hosting service on this free hosting server, you don't need to use these functions, just set the superglobal variable $_SESSION; and thats all, everything is on the PHP Manual, when PHP6 comes, it will be the best/easiest scripting/programming language, most of the problems will be removed, but most of the servers will still run on php4 so you all "must" write the code to work on all php4 php5 and php6 and even php3 if you have time.

I recommend to go through the php manual user comments not in a day but time with time, when you write something big, to look up the manual and check the function you use what can it do and how to use it and with time you'll be a pro. wink.gif
Go to the top of the page
 
+Quote Post
Chesso
post Aug 2 2006, 03:38 AM
Post #12


Teh Coder
Group Icon

Group: Members
Posts: 1,053
Joined: 18-April 06
From: Australia
Member No.: 12,833
myCENTs:89.25



Well for now (for me) it's basically what ever works works, when I am happy with features and functioning I'll go through the whole lot and remove redundant code and fix things up.
Go to the top of the page
 
+Quote Post
Vyoma
post Aug 2 2006, 01:14 PM
Post #13


Cosmic Overlord
Group Icon

Group: Members
Posts: 571
Joined: 26-November 05
From: Denver, Colorado, US
Member No.: 9,811
myCENTs:45.66



OK Quatrax. That answered my questions. I think this thread may be deemed closed.
Go to the top of the page
 
+Quote Post
Houdini
post Aug 2 2006, 06:54 PM
Post #14


Super Member
Group Icon

Group: Members
Posts: 572
Joined: 25-April 05
From: Nashville Tennessee
Member No.: 4,340



Actually whenever you want to use (or read) session variables you must always start a session using session_start() the you can
CODE
echo $_SESSION['myvariable'];
You must use session_start() to assign or use $_SESSION variables. It is a good practice to place the session start at or very near the beginning of your script to avoid the error about resending headers.
Go to the top of the page
 
+Quote Post
Habble
post Mar 15 2008, 07:00 PM
Post #15


Premium Member
Group Icon

Group: [HOSTED]
Posts: 286
Joined: 17-June 07
From: Tasmania
Member No.: 22,699



Yeah Lol but it can be hard to work out how to do Lol not to easy at all
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Php, Sql Lite: Storing Session's Data?(1)
  2. Mini Apache Server W/ Php(5)
  3. Php : Variables Included Dont Work In Functions(4)
  4. Multilingual Site: Send The User To Page Of Choice(6)
  5. Need Help - How To Remove Session ID From URL(6)
  6. Problem With PHP Scripts Without MySQL(1)
  7. Simple PHP News System Problems(1)
  8. How To Reset The Server Variable Php_auth_user(9)
  9. Session And Security(0)
  10. How To Delete Files When Session Ends(4)
  11. Backing Up User Forms As Static HTML(5)
  12. Quickly Create Form Variables(5)
  13. Proper Way To Grab User Data?(1)
  14. Authentication Script(1)
  15. Making My Album(3)
  1. Sql Injection Prevention (passing Numerical Data Across Pages).(9)
  2. Htaccess/gd Problems.(0)
  3. I'm Having Problems With Sessions(2)
  4. Already Sent Session Cookies?(2)
  5. Php Long Variables(5)
  6. Using Php With A Mail Server(2)
  7. Five Common Php Database Problems(0)
  8. Php Session Problem(7)
  9. Automated Product Suggestion Script(2)
  10. Run A Script When Expires A Session(6)
  11. Make A Script Run Even If No User Is Online(6)
  12. How To Create/edit/delete Ftp Accounts With Php(2)
  13. View Php In Another Server(4)


 



- Lo-Fi Version Time is now: 5th December 2008 - 05:32 PM