converting cookies into sessions without javascript -


i want use cookie create session expires when user closes browser window. of posts online says way remove expires attribute cookie. tried , did not work.

i have following cookie string:

example=true;path=/ 

note did not set expires attribute.

what happens expires attribute gets set 1 year now.

try setting cookie expires=0.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -