Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Old 04-27-2006, 01:11 PM Losing Cookie
Skilled Talker

Posts: 95
Trades: 0
I have set a cookie on my site and then straight after that i dsiplayed what was stored in the cookie to make sure it worked

if did?

however after that i'm using a response.redirect to another page.

This page can not get the value of the cookie. When i try to display it (the same way i did on the previous page that worked) is is displaying nothing!!?
higginbt is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-27-2006, 01:17 PM Re: Losing Cookie
Skilled Talker

Posts: 95
Trades: 0
same thing happens with sessions varibles too
higginbt is offline
Reply With Quote
View Public Profile
 
Old 04-27-2006, 02:24 PM Re: Losing Cookie
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
does it work when you click through to another page ?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-28-2006, 05:17 AM Re: Losing Cookie
Skilled Talker

Posts: 95
Trades: 0
Ok i've sort of figured out what the problem was. I just dont know why it was a propblem.

The pages are in two sepearte shares on the intranet.

The one that creates the cookie is on a hidden share that i use for development and testing

the page that is trying to read the cookie is on another shared folder this one not hidden.

Both are are on the same server.
Both work with cookies with in the folders.
One is hidden
One is not.
Neither will pass the cookie to the other.

putting the page that creates the cookie inside the same folder as the page that requests it works.

So this is what ive done.

So as i said i fixed it (well found a work around), just dont know what the problem was
higginbt is offline
Reply With Quote
View Public Profile
 
Old 04-28-2006, 01:49 PM Re: Losing Cookie
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Are the shares assigned different internal IP addresses? I've never tried what you're doing before so I don't know, but each cookie has an associated IP address.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Losing Cookie
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.73448 seconds with 12 queries