Question : Using cookies with ASP.NET

What considerations are there when a cookie is needed for a web application?  

1) And what built in features does ASP.NET have to support this?
2) What if encryption is needed?
3) What kinds of browser support issues are there?

I have these and other questions about cookies, so please feel free to share what you know...

Thanks,
newbieweb

Answer : Using cookies with ASP.NET

Assuming that the ids are in ascending order try using this querys

- NEXT
$sql = "select *  FROM app_get_account_inbox_funk where account_id="  . $this->account_id ." AND conversation_id>".$this->conversartion_id." order by conversation_id ASC LIMIT 1";
- PREVIOUS
$sql = "select *  FROM app_get_account_inbox_funk where account_id="  . $this->account_id ." AND conversation_id<".$this->conversartion_id." order by conversation_id DESC LIMIT 1";
And in the case of the last/first message
- LAST
$sql = "select *  FROM app_get_account_inbox_funk where account_id="  . $this->account_id ." order by conversation_id DESC LIMIT 1";
- FIRST
$sql = "select *  FROM app_get_account_inbox_funk where account_id="  . $this->account_id ." order by conversation_id ASC LIMIT 1";
Random Solutions  
 
programming4us programming4us