Users Pricing

forum

Home Forums Recreate a Session by Using Your Session ID – MindStick

Recreate a Session by Using Your Session ID

Jayden Bell 1791 26 Aug 2014

I would like to know if ASP.NET has something similar to session_id function from PHP.

I would like to do something like it using ASP.NET:

session_id($_GET['session_name']);
session_start();
if ($_SESSION['mydata'] != 'somepreviousvaluesetted') {
        header("HTTP/1.0 404 Not Found");
        exit;
}

1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md