Session variables
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Session variables




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Session variables  
Jan Lathouwers


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-26-04 10:35 AM

Hi

How to set and use session variables in mcms with c#?  This doesn't seem to 
work:

Session["taalKeuze"]="English";

if((String)Session["taalKeuze"]=="English")...





[ Post a follow-up to this message ]



    Re: Session variables  
Kashan Ahmad


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-26-04 02:36 PM

Hi
try....

Session["taalKeuze"]="English";

if(Session["taalKeuze"].ToString().Equals("English"))
...
..

regards
Kashan


"Jan Lathouwers" <lathouwers.jan@pandora.be> wrote in message
news:f20274d3.0404260143.58dec36a@posting.google.com...
> Hi
>
> How to set and use session variables in mcms with c#?  This doesn't seem
to work:
>
> Session["taalKeuze"]="English";
>
> if((String)Session["taalKeuze"]=="English")...







[ Post a follow-up to this message ]



    Re: Session variables  
Kashan Ahmad


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-26-04 02:36 PM

Sorry.... I forgot to add...


Session.Add("taalKeuze","");
Session["taalKeuze"]="English";

OR

Session.Add("taalKeuze","English");

if(Session["taalKeuze"].ToString().Equals("English"))....


regards
Kashan



"Kashan Ahmad" <kashan.ahmad@geopaq.com> wrote in message
news:e25IkB5KEHA.3596@TK2MSFTNGP10.phx.gbl...
> Hi
> try....
>
> Session["taalKeuze"]="English";
>
>  if(Session["taalKeuze"].ToString().Equals("English"))
> ...
> ..
>
> regards
> Kashan
>
>
> "Jan Lathouwers" <lathouwers.jan@pandora.be> wrote in message
> news:f20274d3.0404260143.58dec36a@posting.google.com... 
> to work: 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:05 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register