p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: Session variable problems


Message #1 by "Stefan Johansson" <jehdi@h...> on Fri, 27 Jul 2001 08:23:41 +0000
Hi

This is the MSN messenger Object.
it may work fine if u install again the MSN Messenger.

Bye
SreeVijaya



>From: "Stefan Johansson" <jehdi@h...>
>Reply-To: "Code Clinic" <proasp_codeclinic@p...>
>To: "Code Clinic" <proasp_codeclinic@p...>
>Subject: [proasp_codeclinic] Session variable problems
>Date: Fri, 27 Jul 2001 08:23:41 +0000
>
>Hello all
>I have a very peculiar problem, my code that use sessionvariables to
>store formvalues has ceased to work. For some strange reason the
>sessionvariables are not being created. This is very strange becaue it
>is only this perticular little piece code that doesnt work. I am storing
>sessionvariables in other parts of my application and it is working just
>fine.
>
>This is the code
>
><%
>Session("Mailklient")=Request.Form("textklient")
>Session("Man")=Request.Form("Man")
>Session("Kvinna")=Request.Form("Kvinna")
>
>if Session("Kvinna") = "on" Then
>Session("Kon")="Kvinna"
>End if
>if Session("Man") = "on" Then
>Session("Kon")="Man"
>End if
>Session("Fnamn")=Request.Form("Fornamn")
>Session("Enamn")=Request.Form("Efternamn")
>Session("Email")=Request.Form("Email")
>Session("Telnr")=Request.Form("Telnr")
>Session("mobil")=Request.Form("Mobil")
>Session("Personligtbrev")=Request.Form("Personligtbrev")
>Session("Gatuadress")=Request.Form("Gatuadress")
>Session("Postnr")=Request.Form("Postnr")
>Session("Ort")=Request.Form("Ort")
>
>Session("Nyhetsbrevsintressent")=Request.Form("nyheter")
>%>
><%
>Session("Högskola/Universitet")=Request.Form("Universitet")
>Session("Inriktning")=Request.Form("Utbildningsnamn")
>Session("Hogskolepoang")=Request.Form("Antalpoang")
>Session("Examenstyp")=Request.Form("Examenstyp")
>Session("Utbildningsort")=Request.Form("Utbort")
>Session("Arblivserfarenhet")=Request.Form("Tidigaretjanst")
>Session("Meriter")=Request.Form("Meriter")
>
>It might have something to do with the fact that i accidentaly removed
>an activex object with the idnumber
>{F3A614DC-ABE0-11D2-A441-00C04F795683}.
>
>So i have the following questions!
>
>1.What is the name of this object, what is it's function and where might
>i be able to find a new one.
>2.Could my problem in some way have something to do with an incorrect
>session.timeout .
>value
>3.Has anyone else encountered a similar problem, and what would be the
>accurate solution
>
>I am most grateful for any help,
>Thanks Stefan
>
>
>

  Return to Index