How do i grab value in a Session variable.

Rani

Well-known member
Joined
Nov 19, 2005
Messages
71
Programming Experience
Beginner
I have attached a pc of code in a notepad.

I am doing all i can but unable to retrieve the value in a session variable. Pls advise how would i get this done.

I have to use these values to send to the other page.

Thanks Rani
 

Attachments

  • efficient.txt
    944 bytes · Views: 39
But... you ARE getting the values from a Session variable.... that's what this does:
a = Session("rdoGiftCert")
b = Session("rdoGiftVoucher")
It returns the value in the session variable rdoGiftCert and puts it in to a, and gets the session variable rdoGiftVoutcher and puts it into b.

What part of that doesn't work?

-tg
 
Thank you very much for your time on this.
I kind of did not get the concept of session variables.
I was assigning to a variable in my first pages and retrieving from another variable where there were no values. It is obvious now.

Thanks a lot again/Rani
 
Yeah, that's what the Session object does... it travels with the web user for the life of their session on your site. When they leave, then the session object is dropped.

Sounds like you have a handle on it now though!

-tg
 
Back
Top