Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Can I set a Cookie and then jump to another location?

by sinan (Sexton)
on Aug 27, 2000 at 12:19 UTC ( [id://29874]=note: print w/replies, xml ) Need Help??


in reply to Can I set a Cookie and then jump to another location?

You cannot use the cookie in the first time it is set. (Personal experience)

You if you reload the new page, you will see that it works.

The solution is to have the users click on a link on the original page to go to the new page. Or, you can have the Cookie set in the previous page.

Try to use the javascript re-direct method instead:
<body onLoad="window.location.href = blah.htm;">
This will only work if your user has JavaScript enabled.

Actuallly, WWW Consortium has information on HTTP headers at ftp://ftp.isi.edu/in-notes/rfc2616.txt.

These might be very useful.
Sinan

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://29874]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-25 11:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found