How to declare session variable in C#?

newSession is a poor name for a Session variable. However, you just have to use the indexer as you’ve already done. If you want to improve readability you could use a property instead which can even be static. Then you can access it on the first page from the second page without an instance of it. page 1 … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)