how to create session in asp??
I am using this in my PHP code
Here is my php session
$sid = CreatePSession();
Now I want to use this in asp how it is possible ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is a simple as assigning a value like this:
The
Sessioncollection is globally accessible. As is theApplicationcollection which pretty much works in the same way with the difference that it is application spanning.In your PHP code, you are calling the
CreatePSessionfunction and what that returns is something you have to check in order to do the same thing in ASP. My guess is that it is giving you a userId or something.