
July 5th, 2000, 05:43 AM
|
 |
.Net Developer
|
|
Join Date: Feb 2000
Location: London
Posts: 987
Time spent in forums: 3 h 26 m 22 sec
Reputation Power: 14
|
|
$CookieID = "$id+$password";
$cookies = $query->cookie(-name=>'b',
-value=>$CookieID
);
print $query->header(-cookie=>$cookies);
-------------------
-------------------
Just try like following..
$CookieID =$id."+".$password;
# i don't what you are doing with this '+'
#pass one more argument 'expires'.(ie, set an expiry time for your cookie)
$cookies = $query->cookie(-name=>'b',
-value=>'$CookieID',-expires=>'+1h');
print $query->header(-cookie=>$cookies);
---------------
---------------
------------------
SR -
webshiju.com
"The fear of the LORD is the beginning of knowledge..."
|