Session ID

Posted By saturation Thu 17 Mar 2011
Add to Favorites0
Author Message
saturation
 Posted Thu 17 Mar 2011
Supreme Being

Supreme Being - (64,848 reputation)Supreme Being - (64,848 reputation)Supreme Being - (64,848 reputation)Supreme Being - (64,848 reputation)Supreme Being - (64,848 reputation)Supreme Being - (64,848 reputation)Supreme Being - (64,848 reputation)Supreme Being - (64,848 reputation)Supreme Being - (64,848 reputation)

Group: Forum Members
Last Active: Fri 30 Nov 2012
Posts: 108, Visits: 1,185
I'm trying to lookup the current session in tblKartrisSessions, but the session ID that I am writing out to the page (just for testing purposes) is not the same as the SESS_Code for the same IP address.  Am I doing this wrong or do I need to run a stored procedure or something else to convert the ID from Session.SessionID to get SESS_CODE?
Mohammad
 Posted Fri 18 Mar 2011
Kartris Expert

Kartris Expert - (78,755 reputation)Kartris Expert - (78,755 reputation)Kartris Expert - (78,755 reputation)Kartris Expert - (78,755 reputation)Kartris Expert - (78,755 reputation)Kartris Expert - (78,755 reputation)Kartris Expert - (78,755 reputation)Kartris Expert - (78,755 reputation)Kartris Expert - (78,755 reputation)

Group: Administrators
Last Active: Sun 27 Sep 2015
Posts: 115, Visits: 706
The session code used in Sessions' table is not the same as "Session.SessionID", we are generating the session code using formula or randomly depending on some factors.

If you want to referene a record in the table, try Session("SessionCode") or Session("SessionID").

Also, Session("SessionID") <> ASP.Net auto generated Session.SessionID.

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top