Project

General

Profile

Actions

Support #2518

closed

JWT browser session

Added by Kushan Gunaratne over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
12/18/2013
Due date:
% Done:

0%

Estimated time:

Description

Hello,

Im new to JWT. I want to set user information to Web session.

How to access web session using WEnvironment or WApplication.

How to set parameters to WEnvironment.

Plase help me.

Thanks

Actions #1

Updated by Koen Deforche about 10 years ago

  • Status changed from New to Resolved

Hey,

The WApplication object itself is stored in the servlet session, and you should simply store things that you want to keep around in the (specialized) WApplication instance, or in any of your widgets.

You can't set parameters to WEnvironment, only read them; they are set by the initial request (in the GET URL or in a POSTed form).

Regards,

koen

Actions #2

Updated by Koen Deforche about 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF