Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6680745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:30:39+00:00 2026-05-26T04:30:39+00:00

how to create session in asp?? I am using this in my PHP code

  • 0

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 ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:30:39+00:00Added an answer on May 26, 2026 at 4:30 am

    It is a simple as assigning a value like this:

    Session("mySessionKey") = "My value"
    

    The Session collection is globally accessible. As is the Application collection which pretty much works in the same way with the difference that it is application spanning.

    In your PHP code, you are calling the CreatePSession function 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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using ASP.NET and VB.NET 2.0..................................... This is my code i use when
I'm using the following code in an ASP.NET page to create a record, then
This table is used to store sessions (events): CREATE TABLE session ( id int(11)
We are getting this error: System.ServiceModel.ServerTooBusyException: The request to create a reliable session has
In MySQL, I can create an access a session variable by using a single
Originally, I just want to verify that session_start locks on session. So, I create
I'm using ASP.NET MVC 3 code-first and I have added validation data annotations to
I'm looking for thoughts on how should I use Session in an ASP.NET MVC
I would like to use the Session-per-request pattern, as is done frequently when using
Here's the situation: ASP.NET MVC 3 application using Razor as the view engine. Works

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.