Click to See Complete Forum and Search --> : Changing session Id?


Calmaris
12-30-2003, 05:27 PM
Is it possible to change a session Id from the garbage that shows up to a user's user name? If so would you do this in the global.asax file or on the page itself.

PeOfEo
12-30-2003, 06:44 PM
You can make the session id anything you want from the data base, you do not even have to call it id. Just pick some random variable to use as a session variable and match it up with some random data base feild. You would do it on the page its self.

Calmaris
12-30-2003, 07:01 PM
I though you could. But the way I was trying to do it was as such:

session=rs(User_Id) something along that line(It's off the top of my head) but what code would you use? so that if I did a response.write I could output the person's User_Id as the session Id.

PeOfEo
12-30-2003, 07:10 PM
session("memberID") = lblid.text