How to completely disable session

digiaditya
Member | 3
+
0
-

hello i want to completely disable session so that it does not create the PHPSESSID= cookie ?

Anybody knows how to?

Thanks…

David Matějka
Moderator | 6438
+
0
-

Hi, may I know why?

You would have to stop using all features which uses sessions – that includes flash messages, store/restore request, forms csrf protection and user storage.

David Grudl
Nette Core | 7769
+
0
-
digiaditya
Member | 3
+
0
-

David Matějka wrote:

Hi, may I know why?

You would have to stop using all features which uses sessions – that includes flash messages, store/restore request, forms csrf protection and user storage.

im actually developing an api with an admin panel which only i will use… i dont want it to load unnecessary modules on the api part…

digiaditya
Member | 3
+
+1
-

David Grudl wrote:

Via autostart: no https://doc.nette.org/en/configuring#…

Thanks bro…

Im really liking Nette.. thanks for creating it…