balebond Posted October 20, 2008 Share Posted October 20, 2008 Is there a replacement for this session variable in 3.7? I had been using it to keep from running database queries on custom pages if not necessary. Or is there another method to accomplish this? I need it on the code side, not the template side. 0 Quote Link to comment Share on other sites More sharing options...
nielsenj Posted October 20, 2008 Share Posted October 20, 2008 I don't know if there's something else available but i do know that $_SESSION['uid'] and $_COOKIES['WHMCSUID'] will be non-zero if a client is logged in. So if it's not set or equals 0 then they aren't logged in. 0 Quote Link to comment Share on other sites More sharing options...
balebond Posted October 20, 2008 Author Share Posted October 20, 2008 Excellent catch. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.