Session error

Results 1 to 2 of 2

Thread: Session error

  1. #1
    Chiu Guest

    Default Session error

    Hi, i got the following error when i do <BR>Session("Username") = Request.Form("username")<BR><BR>Error Type:<BR>Session object, ASP 0168 (0x80004005)<BR>An intrinsic object cannot be stored within the Session object.<BR><BR><BR>if anyone know this problem.. please help!<BR>thanks<BR>

  2. #2
    Hui Guest

    Default RE: Session error

    cuz when you get Request.Form("username") it returns an object not a string so you have to do<BR><BR>username = Request.Form("username");<BR>var test = new String(username);<BR>Session("Username") = test;<BR><BR>it would work afterward :)<BR><BR>hui

Posting Permissions

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