I Want to Store User Name and User Role In Some Way That I Can Used On My Every Page
But I Have Already used Session And Cookies
So Guys If You Have Any Diffrent Ways Then Show Me
Please

Thanks

Recommended Answers

All 2 Replies

I think session is the best way to do this. What is your problem with the Sessions?

I think session is the best way to do this. What is your problem with the Sessions?

Because Session Can Be Expired
Get It
I Don't want that thing i My site

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.