Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Session detection


Message #1 by "Leonard Danao" <ldanao@s...> on Fri, 23 Mar 2001 07:10:32 -0500
Len,

You can use the session_is_registered() function. For example:

session_is_registered("myvar");



Nate LaClaire

--------------------------------
Netwalker Internet Services
http://www.netwalkerinternet.com
--------------------------------

> -----Original Message-----
> From: Leonard Danao [mailto:ldanao@s...]
> Sent: Friday, March 23, 2001 7:11 AM
> To: nnetwalker@h...
> Subject: [pro_php] Session detection
> 
> 
> How can I check to see if a variable is a session variable?
> 
> example
> session_register(myvar)
> 
> print("$myvar")
> 
> how do prevent this from happening
> 
> http://url/page.php?myvar=myvalue
> 
> thanks Len


  Return to Index