NayeemKhan
NayeemKhan

Reputation: 1230

Can i still store value in session if in browser cookie is disabled?

Can i still store value in session if in browser cookie is disabled?

Upvotes: 0

Views: 513

Answers (2)

aksarben
aksarben

Reputation: 628

You didn't say what language you're working in, though the previous answer seems to assume you're working in ASP.NET. If you're working in Java, the HttpSession (server-side construct) holds values which are independent of cookies. In oher words, you can store sesson vaues on the server regardless of whether the client side browser has enabled cookies.

Upvotes: 0

CD..
CD..

Reputation: 74096

You can use Cookieless Sessions.

In ASP.NET, the necessary session-to-user link may optionally be established without using cookies. Interestingly enough, you don't have to change anything in your ASP.NET application to enable cookieless sessions, except the following configuration setting.

<sessionState cookieless="true" />

Upvotes: 2

Related Questions