Can we use session in ASPX page?

You can’t, JavasSript is used for client side scripting on the browser , and cannot access a Session object from a server. JavaScript runs in the clients browser, your Session object is exposed by the server.

Sizin İçin Seçtik  How are states managed in an ASP.NET application?

Leave a Reply

Your email address will not be published. Required fields are marked *

Can we use session in ASPX page?

You can’t, JavasSript is used for client side scripting on the browser , and cannot access a Session object from a server. JavaScript runs in the clients browser, your Session object is exposed by the server.

Sizin İçin Seçtik  How long does a session last C#?

Leave a Reply

Your email address will not be published. Required fields are marked *