session object

Results 1 to 2 of 2

Thread: session object

  1. #1
    Join Date
    Dec 1969

    Default session object

    Hi,<BR>I am storing an object in a session variable like<BR>&#060;%Set Session("MyObj") = Server.CreateObject("Obj.Class")%&#062;<BR><BR>Now it works on the subsequent page if I refresh it but when I try to use it again it doesn&#039;t work ? to make it work i have to refresh the page again.<BR><BR>How to go about it ?<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: session object

    Are you sure this is a good idea? You shouldn&#039;t put object in the SessionObject. All kinds of problems occur.<BR><BR>Recreate the object on every subsequent page, and only pass its &#039;state-info&#039;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts