Link to home
Start Free TrialLog in
Avatar of webdev01
webdev01

asked on

How to get a value for a session ID?

I've seen on many sites session id with characters and numbers.

How should I create that value to a new user session based on the below example:
 
mypage.asp?session_key=D10011AC230011AC2001061421

thanks
Avatar of webdev01
webdev01

ASKER

I've seen on many sites session id with characters and numbers.

How should I create that value to a new user session based on the below example:

mypage.asp?session_key=D10011AC230011AC2001061421

thanks
ASKER CERTIFIED SOLUTION
Avatar of daniel_c
daniel_c

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Download the component from here:
http://www.serverobjects.com/products.htm#free
Avatar of Michel Sakr
SessionID = session.SessionID
Silvers5, very funny. If you use your Session.SessionID
then you'll get only 8-10 numbers like
Your SessionID = 129041723

I was asking how to get this:

Your SessionID = D10011AC230011AC20010614214143fe60b1672511
Thanks daniel_c
ehh.. didn't read it correctly.. you can simply generate your own number using rnd function, chr function and randomise

thanks to all