Okay I understand how that works BUT I guess my problem is that only 
shows the cookies for the site I am on.
There is now way I can think of that I can execute a jscript with out 
changing sites(domains). For example when I put a jscript file on my 
machine it executes but does not show the cookies from the previous 
site. What I really wanted (but didnt know enough to ask) was a way to 
show the cookies from the user's side. Why shouldnt a user be able to 
see his cookies?

I understand now why jscript cant do it because it would be a security 
violation because any site could read all of my cookies. But it would be 
nice if a user could see them. I found a browser that lets me do it. 
Lynx for win32. If you enter ^k it shows you all cookies.
Is there a method or debug mode or something that would show this with 
mozilla?
I also read in the documentation that the cookies are always sent with 
every http-request header. Is there a way to show the data(headers) 
going to the web server?

thanks
bob

Jason Fleshman wrote:

> Session variables should be accessible like any other cookie:
> alert(document.cookie);
>
> --Jason
>
> Bob Davis wrote:
>
>> There are cookies that are used only for the life of the browser. 
>> When you make a cookie with no expiration date it goes away as soon 
>> as the browser is exited. You can see this happening by setting 
>> mozilla to ask when you get a cookie and then going to a site that 
>> needs to keep "state". Like a site that you would buy something from. 
>> As long as the browser is alive is as long as you need the cookie. 
>> After the browser closes you dont need it anymore. If you read the 
>> microsoft documentation is says that the session variables are 
>> maintained with temporary cookies. I was hoping that a kindly 
>> developer would know of a way to see these temporary cookies.
>>
>> bob
>>
>> Jay Garcia wrote:
>>
>>> Bob Davis wrote:
>>>
>>>> There are cookies that never get written to disk.
>>>> Is there a way to display these?
>>>> I was trying to do it with jscript but dont know enough.
>>>>
>>>> thanks
>>>> bob
>>>>
>>>>
>>>
>>> Care to run this by again ?? What's the point of a "cookie" that never
>>> gets written to disk, unless you have your cookies.txt file marked as
>>> "read only" in which case there is no way to view the cookie that 
>>> didn't
>>> get written.
>>>
>>>
>>
>


Reply via email to