Session Bean (jsp) are there any similar thing in ASP.net

A

angus

Dear All,

Are there any similar thing in ASP.net like Session Bean in JSP?
\

Regards,
Angus
 
T

Teemu Keiski

Do you mean session object , generally concept of sessions? Such certainly
is in ASP.NET.
 
A

angus

Hi Teemu Keiski,
Do you mean session object , generally concept of sessions? Such certainly
is in ASP.NET.

e.g.

-----------
test.jsp
-----------

<%@ page language="Java" contentType="text/html; charset=UTF-8" %>
<jsp:useBean id="unit" scope="session" class="com.test.unit.bean.Unit" />

<% System.out(unit.unit_id)%>

------------------------------
com.test.unit.bean.Unit
------------------------------

package com.test.unit.bean;

public class Unit implements java.io.Serializable {
public String unit_id = "";
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top