How to completely disable session

5 months ago

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…

5 months ago

David Matějka
Moderator | 5914
+
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.

5 months ago

David Grudl
Nette Core | 6850
+
0
-

5 months ago

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…

5 months ago

digiaditya
Member | 3
+
+1
-

David Grudl wrote:

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

Thanks bro…

Im really liking Nette.. thanks for creating it…