You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Paul <Pa...@gubavision.com> on 2004/07/23 02:48:11 UTC
[users@httpd] Cookie expire
I have need to use cookies and have been able to add to my virtualhost
fine. The cookie is sent to browser. I would like the cookie to
expire after 3 hours and am having trouble with that line of the
config. A working example would be greatly appreciated.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Cookie expire
Posted by Eimantas Vaiciunas <ei...@sc.vu.lt>.
On Friday 23 July 2004 05:25, Paul wrote:
> would like a php script to be able to send a cookie that is used to
> create a login.
<?
setcookie("Name","Value", time()+(3600*3))
?>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Cookie expire
Posted by Paul <Pa...@gubavision.com>.
would like a php script to be able to send a cookie that is used to
create a login.
On Thursday, July 22, 2004, at 10:38 PM, Joshua Slive wrote:
> On Thu, 22 Jul 2004 20:48:11 -0400, Paul <pa...@gubavision.com> wrote:
>> I have need to use cookies and have been able to add to my virtualhost
>> fine. The cookie is sent to browser. I would like the cookie to
>> expire after 3 hours and am having trouble with that line of the
>> config. A working example would be greatly appreciated.
>
> You'd need to be more specific about what you are doing. There are
> dozens (actually, hundreds or thousands) of different ways to send
> cookies to clients.
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Cookie expire
Posted by Joshua Slive <js...@gmail.com>.
On Thu, 22 Jul 2004 20:48:11 -0400, Paul <pa...@gubavision.com> wrote:
> I have need to use cookies and have been able to add to my virtualhost
> fine. The cookie is sent to browser. I would like the cookie to
> expire after 3 hours and am having trouble with that line of the
> config. A working example would be greatly appreciated.
You'd need to be more specific about what you are doing. There are
dozens (actually, hundreds or thousands) of different ways to send
cookies to clients.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org