Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 26th, 2003, 06:18 AM
Registered User
Join Date: Aug 2003
Location: , , .
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.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 09:58 PM.

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