cookie problem

A

alexz

I got several forms on the intranet that require login + some cookie.
I created a central login page with "HTTP_REFERER" so it
redirects the user back to the currect page with a cookie setup.
The redirect works fine, the problem is that the cookie doesn't get set.
If the login is within the same foldre as the form, there is no problem,
but then i can't have a central location for the login.
here is my cookie.

Name = rcset("Firstname")
Response.Cookies("som_userName")=(name)
Response.Cookies("som_userName").Expires = Date + 5

Thanks in adavanced.
 
R

Ray at

Check in IIS to see if you have any applications defined on subdirectories
in your site.

Also make sure that you are not accessing the intranet by computername and
the computername has an underscore in it. If it does, cane the person who
named it.

Ray at work
 
R

Ray at

Ignore what I said about the application thing. I was thinking of session
variables and what not.

Ray at work
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top