Jump to content


Photo

!strip_tags(SID)


  • Please log in to reply
6 replies to this topic

#1 manmanman

manmanman
  • Members
  • PipPip
  • Member
  • 22 posts

Posted 02 October 2006 - 01:27 AM

strip_tags(SID) returns a blank. If I change the session name, then it works for a while, then goes kersplatty. Any idea why this is happening? No warnings or errors appear.

#2 JasonLewis

JasonLewis
  • Members
  • PipPipPip
  • Advanced Member
  • 3,351 posts
  • LocationVictoria, Australia

Posted 02 October 2006 - 08:25 AM

what exactly are you trying to do?
Good luck with your coding.
Jason / ProjectFear / Jaysonic

#3 manmanman

manmanman
  • Members
  • PipPip
  • Member
  • 22 posts

Posted 02 October 2006 - 08:49 PM

A login form.

#4 JasonLewis

JasonLewis
  • Members
  • PipPipPip
  • Advanced Member
  • 3,351 posts
  • LocationVictoria, Australia

Posted 03 October 2006 - 12:06 PM

so SID is a variable or what? cuz i never used SID. :D
Good luck with your coding.
Jason / ProjectFear / Jaysonic

#5 manmanman

manmanman
  • Members
  • PipPip
  • Member
  • 22 posts

Posted 04 October 2006 - 02:59 AM

SID (or session ID) is the hash for assigning session variables, i.e. $_SESSION['foo']

#6 printf

printf
  • Staff Alumni
  • Advanced Member
  • 889 posts

Posted 04 October 2006 - 03:06 AM

SID is a constant, you can not alter it's state., if you must change the session_id(), then assign it a temp variable and alter that, but I don't see why you need to be doing that!

me!

#7 corbin

corbin
  • Staff Alumni
  • Advanced Member
  • 8,129 posts

Posted 04 October 2006 - 04:31 AM

From personal experience, I have determined that SID can only be used the first time the session is opened... So I tend to not rely on it.
Why doesn't anyone ever say hi, hey, or whad up world?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users