Common Techniques for Passing Data Between ASP.NET Pages
Trasnferring data between pages is a fundamental requirement in ASP.NET web development. Several mechanisms exist for this purpose, including QueryString, Session, Cookies, Application state, and Server.Transfer. Each has distinct characteristics suited for different scenarios.
1. QueryString
The QueryString method appends key-value pairs to th ...
Posted on Sun, 02 Aug 2026 16:09:29 +0000 by Ghulam Yaseen
User Registration, Login, Session Check, and Logout API Implementation
Registration API
This API uses a singleton pattern to refactor the cloud communication SMS sending demo (please review when free).
API Documentation
URL: /avi/v1_0/users/
Method: POST
Data format: JSON
Required parameters: mobile, sms_code, password
Response format: JSON
Response parameters: errno, errmsg
Backend Logic
Receive parameters
re ...
Posted on Wed, 15 Jul 2026 17:28:18 +0000 by FormatteD_C
Common .NET Core HttpContext Operations and Action Filter Techniques
Several frequently used patterns in ASP.NET Core involve HttpContext, configuration access, session handling, and custom action filters. This section outliens practical implementations.
Encapsulate a Global Static HttpContext Helper
A wrapper class provides convenient access to the current HttpContext:
// HttpContextAccessor is registered via s ...
Posted on Sat, 11 Jul 2026 17:34:23 +0000 by Slippy
Understanding Cross-Site Scripting Fundamentals
This article covers foundational web concepts essential for understanding cross-site scripting (XSS) vulnerabilities — focusing on HTTP mechanics, client-side state management, and browser scripting behavior.
HTTP Communication Essentials
Request Methods
GET: Retrieves resources without side effects. Parameters appear in the URL query string a ...
Posted on Sat, 04 Jul 2026 16:38:25 +0000 by madonnazz
Flink SQL Window Aggregation: Tumble, Hop, Session, and Cumulate Windows
Tumbling Windows (TUMBLE)
Tumbling windows assign each element to a window of a specified duration. These windows have a fixed size and do not overlap. For instance, with a 5-minute tumbling window, Flink creates a new window every 5 minutes, where each record belongs to exactly one window.
Use cases: Minute-level aggregations such as page view ...
Posted on Mon, 18 May 2026 04:57:36 +0000 by RoBoTTo
Understanding Cookie, Session, and JSP in JavaWeb Applications
1 Session Management Fundamentals
1.1 Session Management Overview
1.1.1 Defining a Session
In web development, a session represents a complete communication cycle between the client and server. The session begins when a user opens a browser and navigates to a website, and terminates when the browser closes or the session expires.
Consider this ...
Posted on Wed, 13 May 2026 09:57:33 +0000 by djremiasz