[clug-progsig] php sessions on iss
Nick Wiltshire
nick at customdesigns.ca
Wed Mar 1 12:54:46 PST 2006
On Wednesday 01 March 2006 1:53 pm, joshua gatcke wrote:
> Hello all,
>
> I am working on a windows box :( and I am getting this error:
>
> Notice: Undefined index: verified_client in D:\Inetpub2
> \MatrixDrillingFluids\inc\header.php on line 12
>
> the code that is producing this error is:
>
> $verified_client=$_SESSION['verified_client'];
>
> I tried wrapping this into:
> if($_SESSION['verified_client'];
The preceeding semicolon shouldn't be there
> ){
> $verified_client=$_SESSION['verified_client'];
> }
>
> Still does it.
>
> How can I test for session vars if they throw error when they are not
> defined? Any suggestions?
>
> Joshua Gatcke - Director
> Visua Design Group Inc. &
> SkinnyFish Designs Inc.
> Office: (403)338-1731
> Cell:(403)815-3265
> joshua at visuagroup.com
> www.visuagroup.com
More information about the clug-progsig
mailing list