Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

secure flag on cookies in ASP or VB6.0

16 views
Skip to first unread message

pandiarajanm

unread,
Dec 10, 2009, 11:46:35 PM12/10/09
to
Hi

How to implement ASP session identifier, with the Secure flag to ensure that the cookie value is only transmitted over and SSL Connection for ASP or VB6.0 application.


Submitted via EggHeadCafe - Software Developer Portal of Choice
Auto Start ASP.NET 4.0 Applications With IIS 7.5
http://www.eggheadcafe.com/tutorials/aspnet/94df8950-f534-4401-885d-b92d1e31d547/auto-start-aspnet-40-ap.aspx

Evertjan.

unread,
Dec 11, 2009, 4:22:28 AM12/11/09
to
Pandiarajan wrote on 11 dec 2009 in
microsoft.public.inetserver.asp.general:

> How to implement ASP session identifier, with the Secure flag to
> ensure that the cookie value is only transmitted over and SSL
> Connection for ASP or VB6.0 application.

asp.net and vb being off-topic here,
I will try to answer about classic asp:

I do not think that is possible under asp.

However is there any need for that,
as you could limit the pages for SSL use,
or reserve an url or subdomain especially for SSL?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Dan

unread,
Dec 11, 2009, 5:38:58 AM12/11/09
to

"Pandiarajan M" wrote in message
news:2009121023463...@ymail.com...

> Hi
>
> How to implement ASP session identifier, with the Secure flag to ensure
> that the cookie value is only transmitted over and SSL Connection for ASP
> or VB6.0 application.


Classic ASP has the Secure property for cookies

Response.Cookies("mycookie") = "test"
Response.Cookies("mycookie").Secure = True


This should set a cookie and tell the browser to only return it to the web
server when the connection is over HTTPS.

--
Dan

0 new messages