Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cookie problem....

Status
Not open for further replies.

RaceAap

IS-IT--Management
Sep 5, 2001
39
NL
Hi,

I use the following code to set the desired cookie:

Response.Cookies("mozis").Expires = Date() + 365
Response.Cookies("mozis")("lang") = Session("lang")

The Session variable contains a value selected by the client.

Now when I reload the page everything goes like it should...
But when I start a new browser and go to the page, it starts with the defaults as the cookie seems not to be set.

any one who know's what I do wrong??
 
Problem is solved.......

Problem was in an other piece of code, had nothing to do with the cookies, but with a session variable which i used to check before the cookies.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top