Tamriel Posted December 16, 2005 Report Share Posted December 16, 2005 Pie lietotaaja autorizaacijas dati tiek saglabaati cookijos un naakamreiz, kad lietotaajs atver saitu nav nepiecieshams veelreiz autorizeeties... sesijas mainiigie tiek atjaunoti un viss ir chiki, briki. Probleema rodas tajaa briidii, ja, piemeeram, pirmo reizi lietotaajs ielogojas saitaa http://www.saits.com , bet naakamo reizi apmeklee to kaa http://saits.com (bez WWW)... vaardu sakot triks ar "remember me" nenostraadaa. Kaads vareetu buut risinaajums? Link to comment Share on other sites More sharing options...
Robis Posted December 16, 2005 Report Share Posted December 16, 2005 Pie lietotaaja autorizaacijas dati tiek saglabaati cookijos un naakamreiz, kad lietotaajs atver saitu nav nepiecieshams veelreiz autorizeeties... sesijas mainiigie tiek atjaunoti un viss ir chiki, briki. Probleema rodas tajaa briidii, ja, piemeeram, pirmo reizi lietotaajs ielogojas saitaa http://www.saits.com , bet naakamo reizi apmeklee to kaa http://saits.com (bez WWW)... vaardu sakot triks ar "remember me" nenostraadaa. Kaads vareetu buut risinaajums? Dīvaini gan... Protams, ir risinājumi - paredzi savā galā abas iespējas, savukārt user galā - browser dependent. Vai ta tik grūti saprast? Link to comment Share on other sites More sharing options...
KAC Posted December 16, 2005 Report Share Posted December 16, 2005 mosh manuaali palasi? To make the cookie available on all subdomains of example.com then you'd set it to '.example.com'. The . is not required but makes it compatible with more browsers. Setting it to www.example.com will make the cookie only available in the www subdomain. Refer to tail matching in the spec for details. Link to comment Share on other sites More sharing options...
Tamriel Posted December 16, 2005 Author Report Share Posted December 16, 2005 Paldies! Link to comment Share on other sites More sharing options...
Recommended Posts