Wrox Programmer Forums
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 26th, 2003, 06:18 AM
Registered User
Join Date: Aug 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default cookie problem

Hello everyone.
I have a problem with cookies:
In global.asa, i check to see if a user have a value in a persistent cookie, like (vidfunc=Request.Cookies("ADA").Item("IDFUNC")). If value is null then the user must do a logon. If the logon is correct, a persistent cookie is stored (Response.Cookies("ADA").Item("IDFUNC")=10) and a session value is stored (session("IDFUNC")=10).
When the session is active, there is no problem.
The problem exist when the session timeout (10 minute). On the top of the page i check to see if session("IDFUNC") is null. If is null, on a procedure, i make (session("IDFUNC")=Request.Cookies("ADA").Item("ID FUNC")), but it gives null.
How this thing happen?
thanks for the replyes.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cookie problem ps0208 Servlets 1 November 5th, 2007 05:55 AM
Cookie problem Raptor-X ASP.NET 2.0 Basics 0 November 16th, 2006 08:58 AM
Cookie Problem jobiweb ASP.NET 1.0 and 1.1 Basics 0 May 12th, 2005 06:10 AM
COOKIE problem Buravik PHP How-To 2 May 9th, 2004 08:47 AM
Session cookie problem rogierio Classic ASP Professional 0 October 15th, 2003 09:50 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.