/
Forside
/
Teknologi
/
Udvikling
/
ASP
/
Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn
*
Kodeord
*
Husk mig
Brugerservice
Kom godt i gang
Bliv medlem
Seneste indlæg
Find en bruger
Stil et spørgsmål
Skriv et tip
Fortæl en ven
Pointsystemet
Kontakt Kandu.dk
Emnevisning
Kategorier
Alfabetisk
Karriere
Interesser
Teknologi
Reklame
Top 10 brugere
ASP
#
Navn
Point
1
smorch
9259
2
Harlekin
1866
3
molokyle
1040
4
Steffanst..
758
5
gandalf
657
6
smilly
564
7
gibson
560
8
cumano
530
9
MouseKeep..
480
10
Random
410
Session AND objects (NOT SessionObjects)
Fra :
KaReL
Dato :
30-04-01 12:22
Perhaps you guys know this REALLY strange problem:
In doc A:
Set Session("Persoon") = New Persoon
Session("Persoon").Init(objRs.Fields("UserID").Value)
So i made a new persoon (class)
then i init it providing the unique key from the database
After that, i checked if it was an object (it was) and if i could use
getname ... (property get's) (i could).
Now in document B:
IsObject(Session("Persoon")) returned True
BUT!! when i tryed Session("Persoon").GetName it says "Deze eigenschap of
methode wordt niet ondersteund door dit object" which is in english "This
property or method cannot be ?understood?' by this object".
but in the first doc i tried it already & it worked? Session timeout = 2 so
session can't be timed out. Neither have i closed the browser ...
Probably you could help me? I don't need a full explanation (too much time 4
you), but a quick link where i can read about this could be handy.
Thx in advance!
karel.verbiest@advalvas.be
Søg
Alle emner
Teknologi
Udvikling
ASP
Indstillinger
Spørgsmål
Tips
Usenet
Reklame
Statistik
Spørgsmål :
177557
Tips :
31968
Nyheder :
719565
Indlæg :
6408866
Brugere :
218888
Månedens bedste
Årets bedste
Sidste års bedste
Copyright © 2000-2024 kandu.dk. Alle rettigheder forbeholdes.