HOW TO MAKE SESSION ID?

by barkkathulla 2012-09-22 11:57:23

<font color=#000080>
<%
session(âidâ)=âUSERâ
session(âid1â)=session(âid1â)+1
response.write (âUSER NAME :â)
response.write Session(âidâ)
response.write Session(âid1â)
session.timeout=1
%></font>

SESSIONID PROPERTY

The sessionid property is a read-only property that returns the session identification number for each user.each session has a unique identifier,generated by the application when the session is created.the session identification number is actually a cookie that is stored on the userâs machine .it will expire only when the session timeout. One rather large problem with the session object is that it simply wonât work if the user has cookies turned off.the session wonât get started when the user browses the site and they wonât get access to the session object

To retrieve the current userâs sessionId,use:

<% session.sessionid %>
531
like
0
dislike
0
mail
flag

You must LOGIN to add comments