HighDots Forums  

Filtering recordset with session variable

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Filtering recordset with session variable in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gabe the Animator
 
Posts: n/a

Default Filtering recordset with session variable - 12-08-2007 , 11:26 PM






This has never happened to me before, but for some reason, my recordset that
drives a dynamic table won't filter results based on a session variable. I know
session variables are working because I have the session variable echo on the
page (dragged-n-dropped my session variable from the Bindings panel to my
page), and that works fine. So why can't I filter my recordset with the same
session variable??? What's going on?


Reply With Quote
  #2  
Old   
Alec Fehl
 
Posts: n/a

Default Re: Filtering recordset with session variable - 12-09-2007 , 12:04 AM






ASP? PHP? CFM? Can you post your recordset code so we can see?

--
Alec
Adobe Community Expert

Reply With Quote
  #3  
Old   
Gabe the Animator
 
Posts: n/a

Default Re: Filtering recordset with session variable - 12-09-2007 , 12:39 AM



PHP. Sorry, but I'm not too familiar with code. What do you mean by "recordset code"?

Reply With Quote
  #4  
Old   
Gabe the Animator
 
Posts: n/a

Default Re: Filtering recordset with session variable - 12-09-2007 , 12:45 AM



Actually, problem solved. I moved " session_start()" above
"$colname_rsSales = "-1" ", which did the trick.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.