0

I want to pass the value to the tag of applet dynamically. I am taking the ID from session in this way and want to assign ID value to applet

var ID = Session[1];

Is this correct value of passing ID value to the applet dynamically or is there any other better way.

Bhavik Ambani
  • 6,557
  • 14
  • 55
  • 86
user1400915
  • 1,933
  • 6
  • 29
  • 55

1 Answers1

0

Seems fine to me:

<applet ...
    <param name="someParamName" value="@Session["someKey"]" />
</applet>
Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928