By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,625 Members | 1,636 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,625 IT Pros & Developers. It's quick & easy.

Doing 2 Events Consecutively

P: 2

I'm a relative newbie to javascript so I'm not sure if this can be done. Any direction would be appreciated.

I'm trying to link to individual pages on a website which uses ASP session cookies to navigate through its pages. This site is accessed using our individual member ids. So to access the site we use something like: Visitors on that site can click on individual links such as and our id# will be retained.

I'm wondering if I can setup links on my site which will open a new window linking to the home page with my id# (thereby setting the session cookies) and then immediately (and transparently) go to any specific individual pages? Any suggestions would be appreciated.
Jun 28 '07 #1
Share this Question
Share on Google+
3 Replies

Expert Mod 15k+
P: 16,027
Welcome to TSDN!

So you want all links to first go to the home page to set the session cookies and then to the real link. You could probably do this on the server-side without any Javascript. The code should check if the cookie is set. If not, it goes to the home page, then re-directs back to the referrer page.
Jun 29 '07 #2

P: 2
Thanks for your help. Fortunately for me, the website I'm trying to access has made a change in their programming and I can now access the pages directly. So no programming is needed on my part.

Thanks again.
Jul 2 '07 #3

Expert Mod 15k+
P: 16,027
Glad you got your problem solved, even if it wasn't programmatically done!
Jul 2 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.