Can we get value of a session variable in .
vb class) file.
Actully It gives error.
the prob is following:
file name SessionString.
vb // In Bussiness layer
------------------------------------------
string myString()
{
return Session("A")+Session("B")+Session("C");
}
--------------------------------------------
from .aspx.
vb I Call it as
------------------
StrSession=SessionString.myString()
-----------------
Red word is giving error
is there another option if u kno pls tell me
Thanks in advance
--------
Edited: .
Vb shud be read as .cs.