mirghani
asked on
Cash pb!
My CGI App set cookies when the user log in and when log out it clear cookies the pb that after deleting cookies if i didn't Click Refresh in the browser it never delete it and i cann't ask the user in my App to click refresh button!
in brief there is a problem in cookies cashin how it can be solved.
thanks.
in brief there is a problem in cookies cashin how it can be solved.
thanks.
ASKER
Adjusted points to 150
ASKER
I delete the cookies using your method (assigning blank values to cookies fields) but still it didn't work. Moreover when I set new cookies for example when a different user login, the last user name cann't be overwritten. I use this method of assigning cookies:
Response.Cookies.Add;
Response.Cookies.Items[0]. Name:= 'Login';
Response.Cookies.Items[0]. Value:= Login;
another problem: when I assign expiration date to this cookies, for example after a minute, it didn't work and the cookies doesn't deleted after 1 minute it may take a day, how can I solve these problems?
Meerghani
Response.Cookies.Add;
Response.Cookies.Items[0].
Response.Cookies.Items[0].
another problem: when I assign expiration date to this cookies, for example after a minute, it didn't work and the cookies doesn't deleted after 1 minute it may take a day, how can I solve these problems?
Meerghani
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hi geo ,
i tested ur App it's ok,but how can i make the Actions in Sequence,when i submit the external form i get the form with login button,pressing the login button never execute the last action.
i tested ur App it's ok,but how can i make the Actions in Sequence,when i submit the external form i get the form with login button,pressing the login button never execute the last action.
ASKER
Geo Sorry for Delay:-)
and thanks for ur help.
i hope u to co-operate with me later.
Regards Meer.a.a
and thanks for ur help.
i hope u to co-operate with me later.
Regards Meer.a.a
When your app clears the cookies on logout response (sets zero or blank values) they become unusable.
What's the problem here?
Regards, Geo